diff options
author | Kevin Hilman <khilman@linaro.org> | 2013-12-06 11:05:37 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2013-12-06 11:05:55 -0500 |
commit | b8969ef5cfa7859dbe6ac74debfd2d884d9fe14c (patch) | |
tree | b6d9db9cae093ac1ae10e83a8831bd894f7bad68 /arch/arm/plat-iop | |
parent | b19e11fbb2d445a95afbf54bdf47010b77980329 (diff) | |
parent | d25f1d5a30697e038aaa9eac7172de416b01df33 (diff) |
Merge branch 'soc/sched_clock' into next/soc
From Stephen Boyd:
* soc/sched_clock:
ARM: versatile: Switch to sched_clock_register()
ARM: orion: Switch to sched_clock_register()
ARM: OMAP: Switch to sched_clock_register()
ARM: iop: Switch to sched_clock_register()
ARM: u300: Switch to sched_clock_register()
ARM: sa1100: Switch to sched_clock_register()
ARM: pxa: Switch to sched_clock_register()
ARM: OMAP2+: Switch to sched_clock_register()
ARM: OMAP1: Switch to sched_clock_register()
ARM: msm: Switch to sched_clock_register()
ARM: mmp: Switch to sched_clock_register()
ARM: IXP4xx: Switch to sched_clock_register()
ARM: integrator: Switch to sched_clock_register()
ARM: imx: Switch to sched_clock_register()
ARM: davinci: Switch to sched_clock_register()
ARM: clps711x: Switch to sched_clock_register()
ARM: timer-sp: Switch to sched_clock_register()
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm/plat-iop')
-rw-r--r-- | arch/arm/plat-iop/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-iop/time.c b/arch/arm/plat-iop/time.c index 29606bd75f3f..d70b73364a3f 100644 --- a/arch/arm/plat-iop/time.c +++ b/arch/arm/plat-iop/time.c | |||
@@ -54,7 +54,7 @@ static struct clocksource iop_clocksource = { | |||
54 | /* | 54 | /* |
55 | * IOP sched_clock() implementation via its clocksource. | 55 | * IOP sched_clock() implementation via its clocksource. |
56 | */ | 56 | */ |
57 | static u32 notrace iop_read_sched_clock(void) | 57 | static u64 notrace iop_read_sched_clock(void) |
58 | { | 58 | { |
59 | return 0xffffffffu - read_tcr1(); | 59 | return 0xffffffffu - read_tcr1(); |
60 | } | 60 | } |
@@ -142,7 +142,7 @@ void __init iop_init_time(unsigned long tick_rate) | |||
142 | { | 142 | { |
143 | u32 timer_ctl; | 143 | u32 timer_ctl; |
144 | 144 | ||
145 | setup_sched_clock(iop_read_sched_clock, 32, tick_rate); | 145 | sched_clock_register(iop_read_sched_clock, 32, tick_rate); |
146 | 146 | ||
147 | ticks_per_jiffy = DIV_ROUND_CLOSEST(tick_rate, HZ); | 147 | ticks_per_jiffy = DIV_ROUND_CLOSEST(tick_rate, HZ); |
148 | iop_tick_rate = tick_rate; | 148 | iop_tick_rate = tick_rate; |