ARM: EXYNOS4: set the affinity of mct1 interrupt using IRQ_MCT_L1
authorChanghwan Youn <chaos.youn@samsung.com>
Sat, 16 Jul 2011 01:49:44 +0000 (10:49 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 20 Jul 2011 14:28:17 +0000 (23:28 +0900)
IRQ_MCT_L1 is connected directly to GIC in external GIC mapping,
while in internal GIC mapping, it is connected to GIC through
interrupt combiner. Therfore the affinity for mct1 event timer
interrupt should be changed through IRQ_MCT_L1.

Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos4/mct.c

index 14ac10b7ec022d37f698883aad2abe170006902b..1ae059b7ad7b4edc8abbf5c318a8720a4c560125 100644 (file)
@@ -383,8 +383,8 @@ static void exynos4_mct_tick_init(struct clock_event_device *evt)
                setup_irq(IRQ_MCT_L0, &mct_tick0_event_irq);
        } else {
                mct_tick1_event_irq.dev_id = &mct_tick[cpu];
-               irq_set_affinity(IRQ_MCT1, cpumask_of(1));
                setup_irq(IRQ_MCT_L1, &mct_tick1_event_irq);
+               irq_set_affinity(IRQ_MCT_L1, cpumask_of(1));
        }
 }