]> Pileus Git - ~andy/linux/commitdiff
ARM: shmobile: Register ARM architected timer
authorMagnus Damm <damm@opensource.se>
Tue, 5 Feb 2013 07:30:49 +0000 (16:30 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 5 Feb 2013 08:13:55 +0000 (17:13 +0900)
Register ARM architected timer by default for all mach-shmobile
systems using late timer.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/timer.c

index fdbe54a1155567c8ddb08329b60f76c03020c6ab..3d16d4dff01b68735a3a02d1c5bba490ce4cb2e7 100644 (file)
@@ -20,6 +20,7 @@
  */
 #include <linux/platform_device.h>
 #include <linux/delay.h>
+#include <asm/arch_timer.h>
 #include <asm/mach/time.h>
 #include <asm/smp_twd.h>
 
@@ -62,4 +63,6 @@ void __init shmobile_earlytimer_init(void)
 
 void __init shmobile_timer_init(void)
 {
+       arch_timer_of_register();
+       arch_timer_sched_clock_init();
 }