diff options
Diffstat (limited to 'arch/arm/mach-exynos4/mct.c')
-rw-r--r-- | arch/arm/mach-exynos4/mct.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-exynos4/mct.c b/arch/arm/mach-exynos4/mct.c index ddd86864fb83..582b874aab0e 100644 --- a/arch/arm/mach-exynos4/mct.c +++ b/arch/arm/mach-exynos4/mct.c | |||
@@ -386,9 +386,11 @@ static void exynos4_mct_tick_init(struct clock_event_device *evt) | |||
386 | 386 | ||
387 | if (cpu == 0) { | 387 | if (cpu == 0) { |
388 | mct_tick0_event_irq.dev_id = &mct_tick[cpu]; | 388 | mct_tick0_event_irq.dev_id = &mct_tick[cpu]; |
389 | evt->irq = IRQ_MCT_L0; | ||
389 | setup_irq(IRQ_MCT_L0, &mct_tick0_event_irq); | 390 | setup_irq(IRQ_MCT_L0, &mct_tick0_event_irq); |
390 | } else { | 391 | } else { |
391 | mct_tick1_event_irq.dev_id = &mct_tick[cpu]; | 392 | mct_tick1_event_irq.dev_id = &mct_tick[cpu]; |
393 | evt->irq = IRQ_MCT_L1; | ||
392 | setup_irq(IRQ_MCT_L1, &mct_tick1_event_irq); | 394 | setup_irq(IRQ_MCT_L1, &mct_tick1_event_irq); |
393 | irq_set_affinity(IRQ_MCT_L1, cpumask_of(1)); | 395 | irq_set_affinity(IRQ_MCT_L1, cpumask_of(1)); |
394 | } | 396 | } |
@@ -402,9 +404,10 @@ int __cpuinit local_timer_setup(struct clock_event_device *evt) | |||
402 | return 0; | 404 | return 0; |
403 | } | 405 | } |
404 | 406 | ||
405 | int local_timer_ack(void) | 407 | void local_timer_stop(struct clock_event_device *evt) |
406 | { | 408 | { |
407 | return 0; | 409 | evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt); |
410 | disable_irq(evt->irq); | ||
408 | } | 411 | } |
409 | 412 | ||
410 | #endif /* CONFIG_LOCAL_TIMERS */ | 413 | #endif /* CONFIG_LOCAL_TIMERS */ |