diff options
author | Kevin Hilman <khilman@linaro.org> | 2013-12-06 08:05:37 -0800 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2013-12-06 08:05:55 -0800 |
commit | b8969ef5cfa7859dbe6ac74debfd2d884d9fe14c (patch) | |
tree | b6d9db9cae093ac1ae10e83a8831bd894f7bad68 /arch/arm/mach-u300 | |
parent | b19e11fbb2d445a95afbf54bdf47010b77980329 (diff) | |
parent | d25f1d5a30697e038aaa9eac7172de416b01df33 (diff) | |
download | linux-stable-b8969ef5cfa7859dbe6ac74debfd2d884d9fe14c.tar.gz linux-stable-b8969ef5cfa7859dbe6ac74debfd2d884d9fe14c.tar.bz2 linux-stable-b8969ef5cfa7859dbe6ac74debfd2d884d9fe14c.zip |
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/mach-u300')
-rw-r--r-- | arch/arm/mach-u300/timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-u300/timer.c b/arch/arm/mach-u300/timer.c index 9a5f9fb352ce..9724e4e7cc93 100644 --- a/arch/arm/mach-u300/timer.c +++ b/arch/arm/mach-u300/timer.c @@ -341,7 +341,7 @@ static struct irqaction u300_timer_irq = { * stamp. (Inspired by OMAP implementation.) */ -static u32 notrace u300_read_sched_clock(void) +static u64 notrace u300_read_sched_clock(void) { return readl(u300_timer_base + U300_TIMER_APP_GPT2CC); } @@ -379,7 +379,7 @@ static void __init u300_timer_init_of(struct device_node *np) clk_prepare_enable(clk); rate = clk_get_rate(clk); - setup_sched_clock(u300_read_sched_clock, 32, rate); + sched_clock_register(u300_read_sched_clock, 32, rate); u300_delay_timer.read_current_timer = &u300_read_current_timer; u300_delay_timer.freq = rate; |