diff options
-rw-r--r-- | arch/powerpc/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index d5c7e4cf2b39..1339f32b44b5 100644 --- a/arch/powerpc/kernel/irq.c +++ b/arch/powerpc/kernel/irq.c | |||
@@ -487,7 +487,7 @@ __init_refok struct irq_host *irq_alloc_host(struct device_node *of_node, | |||
487 | host->inval_irq = 0; | 487 | host->inval_irq = 0; |
488 | /* setup us as the host for all legacy interrupts */ | 488 | /* setup us as the host for all legacy interrupts */ |
489 | for (i = 1; i < NUM_ISA_INTERRUPTS; i++) { | 489 | for (i = 1; i < NUM_ISA_INTERRUPTS; i++) { |
490 | irq_map[i].hwirq = 0; | 490 | irq_map[i].hwirq = i; |
491 | smp_wmb(); | 491 | smp_wmb(); |
492 | irq_map[i].host = host; | 492 | irq_map[i].host = host; |
493 | smp_wmb(); | 493 | smp_wmb(); |