diff options
author | Magnus Damm <damm@igel.co.jp> | 2007-07-18 10:57:34 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 05:18:20 +0200 |
commit | 90015c89386ffb8967422fbe9f5e7babf1dc2c5e (patch) | |
tree | 390d23e35d497237c8ff06b95c41cda4a92bb1d5 /arch/sh/kernel/irq.c | |
parent | sh: clean up interrupt code for solution engine 7722 board (diff) | |
download | linux-90015c89386ffb8967422fbe9f5e7babf1dc2c5e.tar.xz linux-90015c89386ffb8967422fbe9f5e7babf1dc2c5e.zip |
sh: IPR/INTC2 IRQ setup consolidation.
This patch unifies the cpu specific interrupt setup functions for
interrupt controller blocks such as ipr, intc2 and intc. There is no
point in having separate functions for each interrupt controller, so
let's clean this up.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/irq.c')
-rw-r--r-- | arch/sh/kernel/irq.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index 27897798867a..03404987528d 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c @@ -253,14 +253,7 @@ void __init init_IRQ(void) #ifdef CONFIG_CPU_HAS_PINT_IRQ init_IRQ_pint(); #endif - -#ifdef CONFIG_CPU_HAS_INTC2_IRQ - init_IRQ_intc2(); -#endif - -#ifdef CONFIG_CPU_HAS_IPR_IRQ - init_IRQ_ipr(); -#endif + plat_irq_setup(); /* Perform the machine specific initialisation */ if (sh_mv.mv_init_irq) |