diff options
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/timer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-msm/timer.c b/arch/arm/mach-msm/timer.c index afeeca52fc66..1cab55983d52 100644 --- a/arch/arm/mach-msm/timer.c +++ b/arch/arm/mach-msm/timer.c | |||
@@ -279,7 +279,7 @@ static void __init msm_timer_init(void) | |||
279 | } | 279 | } |
280 | } | 280 | } |
281 | 281 | ||
282 | #ifdef CONFIG_SMP | 282 | #ifdef CONFIG_LOCAL_TIMERS |
283 | int __cpuinit local_timer_setup(struct clock_event_device *evt) | 283 | int __cpuinit local_timer_setup(struct clock_event_device *evt) |
284 | { | 284 | { |
285 | static bool local_timer_inited; | 285 | static bool local_timer_inited; |
@@ -321,8 +321,7 @@ void local_timer_stop(struct clock_event_device *evt) | |||
321 | evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt); | 321 | evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt); |
322 | disable_percpu_irq(evt->irq); | 322 | disable_percpu_irq(evt->irq); |
323 | } | 323 | } |
324 | 324 | #endif /* CONFIG_LOCAL_TIMERS */ | |
325 | #endif | ||
326 | 325 | ||
327 | struct sys_timer msm_timer = { | 326 | struct sys_timer msm_timer = { |
328 | .init = msm_timer_init | 327 | .init = msm_timer_init |