MIPS: EMMA2RH: Remove EMMA2RH_CPU_CASCADE
authorShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Thu, 17 Jun 2010 11:36:13 +0000 (20:36 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:26:04 +0000 (13:26 +0100)
Although all EMMAxxx SoCs can support IP2 and IP3 hardware interrupts,
current EMMA2RH plat_irq_dispatch() supports IP2 only.  We can make it
configurable in the future, but for the time being, would like to make
things explicitly allcated to IP2 in accordance with plat_irq_dispatch().

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1388/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/emma/markeins/irq.c
arch/mips/include/asm/emma/emma2rh.h

index 1d1c806056c5e5f9d996feddbfce0460df3982be..3a96799eb65fec6b25b87e53fbf13b74c12464de 100644 (file)
@@ -301,7 +301,7 @@ void __init arch_init_irq(void)
        /* setup cascade interrupts */
        setup_irq(EMMA2RH_IRQ_BASE + EMMA2RH_SW_CASCADE, &irq_cascade);
        setup_irq(EMMA2RH_IRQ_BASE + EMMA2RH_GPIO_CASCADE, &irq_cascade);
-       setup_irq(MIPS_CPU_IRQ_BASE + CPU_EMMA2RH_CASCADE, &irq_cascade);
+       setup_irq(MIPS_CPU_IRQ_BASE + 2, &irq_cascade);
 }
 
 asmlinkage void plat_irq_dispatch(void)
index fcc0064d6a86e36580ad95d1227951995bbd03cb..95d0b7e683ce4bf9017d6e1603993d47db8ec0a0 100644 (file)
 
 #define NUM_EMMA2RH_IRQ                96
 
-#define CPU_EMMA2RH_CASCADE    2
 #define EMMA2RH_IRQ_BASE       (MIPS_CPU_IRQ_BASE + 8)
 
 /*