OpenCloudOS-Kernel/arch/score/kernel
Nicolai Stange c5d710654c score/time: Set ->min_delta_ticks and ->max_delta_ticks
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 score arch's 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: Chen Liqin <liqin.linux@gmail.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Signed-off-by: Nicolai Stange <nicstange@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-04-14 13:11:20 -07:00
..
Makefile score: Use generic init_task 2012-05-05 13:00:25 +02:00
asm-offsets.c arch: Remove exec_domain from remaining archs 2015-04-12 21:03:30 +02:00
entry.S Score: The commit is for compiling successfully. 2013-09-26 03:46:03 +08:00
head.S score: Add support for Sunplus S+core architecture 2009-06-19 11:38:47 +02:00
irq.c score: Use generic show_interrupts() 2011-03-28 12:03:35 +08:00
module.c Make most arch asm/module.h files use asm-generic/module.h 2012-09-28 14:31:03 +09:30
process.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
ptrace.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
setup.c arch: Set IORESOURCE_SYSTEM_RAM flag for System RAM 2016-01-30 09:49:57 +01:00
signal.c all arches, signal: move restart_block to struct task_struct 2015-02-12 18:54:12 -08:00
sys_call_table.c score: add generic sys_call_table 2009-06-19 14:10:33 +02:00
sys_score.c score: switch to generic fork/vfork/clone 2012-11-28 23:43:40 -05:00
time.c score/time: Set ->min_delta_ticks and ->max_delta_ticks 2017-04-14 13:11:20 -07:00
traps.c score: Fix implicit includes now failing build after extable change 2017-03-11 11:57:21 -05:00
vmlinux.lds.S nmi_backtrace: generate one-line reports for idle cpus 2016-10-07 18:46:30 -07:00