Merge branch 'for-rmk' of git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux...
Russell King [Sat, 15 Jan 2011 13:24:02 +0000 (13:24 +0000)]
1  2 
arch/arm/Kconfig
arch/arm/mach-s5pv310/cpu.c

Simple merge
@@@ -120,9 -132,20 +130,18 @@@ void __init s5pv310_init_irq(void
  {
        int irq;
  
 -      gic_cpu_base_addr = S5P_VA_GIC_CPU;
 -      gic_dist_init(0, S5P_VA_GIC_DIST, IRQ_LOCALTIMER);
 -      gic_cpu_init(0, S5P_VA_GIC_CPU);
 +      gic_init(0, IRQ_LOCALTIMER, S5P_VA_GIC_DIST, S5P_VA_GIC_CPU);
  
        for (irq = 0; irq < MAX_COMBINER_NR; irq++) {
+               /*
+                * From SPI(0) to SPI(39) and SPI(51), SPI(53) are
+                * connected to the interrupt combiner. These irqs
+                * should be initialized to support cascade interrupt.
+                */
+               if ((irq >= 40) && !(irq == 51) && !(irq == 53))
+                       continue;
                combiner_init(irq, (void __iomem *)S5P_VA_COMBINER(irq),
                                COMBINER_IRQ(irq, 0));
                combiner_cascade_irq(irq, IRQ_SPI(irq));