Skip to contentSkip to conversation

ARM: shmobile: Register ARM architected timer

PATCH New Magnus Damm 2 participants 2 messages Feb 5, 2013

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: shmobile: Register ARM architected timer

From: Magnus Damm <[email protected]>

Register ARM architected timer by default for all mach-shmobile systems using late timer.

---

 arch/arm/mach-shmobile/timer.c |    3 +++
 1 file changed, 3 insertions(+)
arch/arm/mach-shmobile/timer.c +3 -0
@@ -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(voi
 
 void __init shmobile_timer_init(void)
 {
+	arch_timer_of_register();
+	arch_timer_sched_clock_init();
 }
Applied
#1 lore raw

PATCH 1/1 ARM: shmobile: Register ARM architected timer

Quoted 4 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Register ARM architected timer by default for all mach-shmobile systems using late timer.

Thanks, applied to a new soc4 branch and merged into next.