diff options
Diffstat (limited to 'arch/arm/mach-iop13xx/irq.c')
-rw-r--r-- | arch/arm/mach-iop13xx/irq.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-iop13xx/irq.c b/arch/arm/mach-iop13xx/irq.c index b2eb0b961031..5791addd436b 100644 --- a/arch/arm/mach-iop13xx/irq.c +++ b/arch/arm/mach-iop13xx/irq.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <asm/hardware.h> | 26 | #include <asm/hardware.h> |
27 | #include <asm/mach-types.h> | 27 | #include <asm/mach-types.h> |
28 | #include <asm/arch/irqs.h> | 28 | #include <asm/arch/irqs.h> |
29 | #include <asm/arch/msi.h> | ||
29 | 30 | ||
30 | /* INTCTL0 CP6 R0 Page 4 | 31 | /* INTCTL0 CP6 R0 Page 4 |
31 | */ | 32 | */ |
@@ -258,7 +259,7 @@ void __init iop13xx_init_irq(void) | |||
258 | write_intbase(INTBASE); | 259 | write_intbase(INTBASE); |
259 | write_intsize(INTSIZE_4); | 260 | write_intsize(INTSIZE_4); |
260 | 261 | ||
261 | for(i = 0; i < NR_IOP13XX_IRQS; i++) { | 262 | for(i = 0; i <= IRQ_IOP13XX_HPI; i++) { |
262 | if (i < 32) | 263 | if (i < 32) |
263 | set_irq_chip(i, &iop13xx_irqchip1); | 264 | set_irq_chip(i, &iop13xx_irqchip1); |
264 | else if (i < 64) | 265 | else if (i < 64) |
@@ -271,4 +272,6 @@ void __init iop13xx_init_irq(void) | |||
271 | set_irq_handler(i, handle_level_irq); | 272 | set_irq_handler(i, handle_level_irq); |
272 | set_irq_flags(i, IRQF_VALID | IRQF_PROBE); | 273 | set_irq_flags(i, IRQF_VALID | IRQF_PROBE); |
273 | } | 274 | } |
275 | |||
276 | iop13xx_msi_init(); | ||
274 | } | 277 | } |