diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-exynos/mct.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/mct.c b/arch/arm/mach-exynos/mct.c index 97343df8f132..959f2514796c 100644 --- a/arch/arm/mach-exynos/mct.c +++ b/arch/arm/mach-exynos/mct.c | |||
@@ -428,9 +428,13 @@ int __cpuinit local_timer_setup(struct clock_event_device *evt) | |||
428 | 428 | ||
429 | void local_timer_stop(struct clock_event_device *evt) | 429 | void local_timer_stop(struct clock_event_device *evt) |
430 | { | 430 | { |
431 | unsigned int cpu = smp_processor_id(); | ||
431 | evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt); | 432 | evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt); |
432 | if (mct_int_type == MCT_INT_SPI) | 433 | if (mct_int_type == MCT_INT_SPI) |
433 | disable_irq(evt->irq); | 434 | if (cpu == 0) |
435 | remove_irq(evt->irq, &mct_tick0_event_irq); | ||
436 | else | ||
437 | remove_irq(evt->irq, &mct_tick1_event_irq); | ||
434 | else | 438 | else |
435 | disable_percpu_irq(IRQ_MCT_LOCALTIMER); | 439 | disable_percpu_irq(IRQ_MCT_LOCALTIMER); |
436 | } | 440 | } |