aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rwxr-xr-xarch/arm/mach-ux500/localtimer.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/localtimer.c b/arch/arm/mach-ux500/localtimer.c
index 2288f6a7c51..df8dc05c123 100755
--- a/arch/arm/mach-ux500/localtimer.c
+++ b/arch/arm/mach-ux500/localtimer.c
@@ -18,11 +18,20 @@
#include <asm/smp_twd.h>
#include <asm/localtimer.h>
+#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
+void smp_timer_broadcast(const struct cpumask *mask);
+#endif
+
/*
* Setup the local clock events for a CPU.
*/
void __cpuinit local_timer_setup(struct clock_event_device *evt)
{
evt->irq = IRQ_LOCALTIMER;
+
+#ifdef CONFIG_GENERIC_CLOCKEVENTS_BROADCAST
+ evt->broadcast = smp_timer_broadcast;
+#endif
+
twd_timer_setup(evt);
}