diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 18:58:06 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-31 19:11:41 -0400 |
commit | a7fadac10ffbfd16cc7ccf951eab1ecf85e1abdf (patch) | |
tree | 64a1035b02cb8aae34b96fc7c1c7caaad337ac07 /arch/arm/mach-exynos4/mct.c | |
parent | 335332770c68649ffeaf5dc2b58d9cd40041e295 (diff) | |
parent | 531a6a941745e1e045dd2a6bd09e1dc01247a5f3 (diff) |
Merge branch 'depends/rmk/devel-stable' into next/board
The exynos4 updates conflict with code from the arm devel-stable branch
and new boards need to set atag_offset in place of boot_param.
Conflicts:
arch/arm/Kconfig
arch/arm/mach-exynos4/include/mach/entry-macro.S
arch/arm/mach-exynos4/mach-smdkc210.c
arch/arm/mach-exynos4/mach-smdkv310.c
arch/arm/mach-exynos4/mct.c
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-exynos4/mct.c')
-rw-r--r-- | arch/arm/mach-exynos4/mct.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-exynos4/mct.c b/arch/arm/mach-exynos4/mct.c index eb182f29f48f..f191608b28d6 100644 --- a/arch/arm/mach-exynos4/mct.c +++ b/arch/arm/mach-exynos4/mct.c | |||
@@ -403,9 +403,11 @@ static void exynos4_mct_tick_init(struct clock_event_device *evt) | |||
403 | if (mct_int_type == MCT_INT_SPI) { | 403 | if (mct_int_type == MCT_INT_SPI) { |
404 | if (cpu == 0) { | 404 | if (cpu == 0) { |
405 | mct_tick0_event_irq.dev_id = &mct_tick[cpu]; | 405 | mct_tick0_event_irq.dev_id = &mct_tick[cpu]; |
406 | evt->irq = IRQ_MCT_L0; | ||
406 | setup_irq(IRQ_MCT_L0, &mct_tick0_event_irq); | 407 | setup_irq(IRQ_MCT_L0, &mct_tick0_event_irq); |
407 | } else { | 408 | } else { |
408 | mct_tick1_event_irq.dev_id = &mct_tick[cpu]; | 409 | mct_tick1_event_irq.dev_id = &mct_tick[cpu]; |
410 | evt->irq = IRQ_MCT_L1; | ||
409 | setup_irq(IRQ_MCT_L1, &mct_tick1_event_irq); | 411 | setup_irq(IRQ_MCT_L1, &mct_tick1_event_irq); |
410 | irq_set_affinity(IRQ_MCT_L1, cpumask_of(1)); | 412 | irq_set_affinity(IRQ_MCT_L1, cpumask_of(1)); |
411 | } | 413 | } |
@@ -422,12 +424,10 @@ int __cpuinit local_timer_setup(struct clock_event_device *evt) | |||
422 | return 0; | 424 | return 0; |
423 | } | 425 | } |
424 | 426 | ||
425 | int local_timer_ack(void) | 427 | void local_timer_stop(struct clock_event_device *evt) |
426 | { | 428 | { |
427 | unsigned int cpu = smp_processor_id(); | 429 | evt->set_mode(CLOCK_EVT_MODE_UNUSED, evt); |
428 | struct mct_clock_event_device *mevt = &mct_tick[cpu]; | 430 | disable_irq(evt->irq); |
429 | |||
430 | return exynos4_mct_tick_clear(mevt); | ||
431 | } | 431 | } |
432 | 432 | ||
433 | #endif /* CONFIG_LOCAL_TIMERS */ | 433 | #endif /* CONFIG_LOCAL_TIMERS */ |