]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: highbank: enable sp804 based sched_clock
authorRob Herring <rob.herring@calxeda.com>
Mon, 16 Jan 2012 14:06:09 +0000 (08:06 -0600)
committerRob Herring <rob.herring@calxeda.com>
Fri, 10 Feb 2012 04:42:55 +0000 (22:42 -0600)
Initialize sched_clock to use the sp804 timer.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/arm/mach-highbank/highbank.c

index 8394d512a40227e0d5526fd6cc731137f1d108d6..a96183e73fad800481b8cacc7133dab155b05cb6 100644 (file)
@@ -109,7 +109,7 @@ static void __init highbank_timer_init(void)
 
        highbank_clocks_init();
 
-       sp804_clocksource_init(timer_base + 0x20, "timer1");
+       sp804_clocksource_and_sched_clock_init(timer_base + 0x20, "timer1");
        sp804_clockevents_init(timer_base, irq, "timer0");
 }