mirror of https://gitee.com/openkylin/linux.git
33ae7a9b6c
In preparation for making the clockevents core NTP correction aware, all clockevent device drivers must set ->min_delta_ticks and ->max_delta_ticks rather than ->min_delta_ns and ->max_delta_ns: a clockevent device's rate is going to change dynamically and thus, the ratio of ns to ticks ceases to stay invariant. Make the m68k arch's coldfire clockevent driver initialize these fields properly. This patch alone doesn't introduce any change in functionality as the clockevents core still looks exclusively at the (untouched) ->min_delta_ns and ->max_delta_ns. As soon as this has changed, a followup patch will purge the initialization of ->min_delta_ns and ->max_delta_ns from this driver. Cc: Ingo Molnar <mingo@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Stephen Boyd <sboyd@codeaurora.org> Cc: Greg Ungerer <gerg@linux-m68k.org> CC: Geert Uytterhoeven <geert@linux-m68k.org> Cc: linux-m68k@lists.linux-m68k.org Acked-by: Greg Ungerer <gerg@linux-m68k.org> Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: John Stultz <john.stultz@linaro.org> |
||
---|---|---|
.. | ||
Makefile | ||
amcore.c | ||
cache.c | ||
clk.c | ||
device.c | ||
dma.c | ||
dma_timer.c | ||
entry.S | ||
firebee.c | ||
gpio.c | ||
head.S | ||
intc-2.c | ||
intc-525x.c | ||
intc-5249.c | ||
intc-5272.c | ||
intc-simr.c | ||
intc.c | ||
m53xx.c | ||
m54xx.c | ||
m520x.c | ||
m523x.c | ||
m525x.c | ||
m527x.c | ||
m528x.c | ||
m5206.c | ||
m5249.c | ||
m5272.c | ||
m5307.c | ||
m5407.c | ||
m5441x.c | ||
mcf8390.c | ||
nettel.c | ||
pci.c | ||
pit.c | ||
reset.c | ||
sltimers.c | ||
timers.c | ||
vectors.c |