diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/misc_64.S | 4 | ||||
-rw-r--r-- | arch/powerpc/platforms/iseries/irq.c | 10 | ||||
-rw-r--r-- | arch/powerpc/platforms/pseries/xics.c | 1 |
3 files changed, 7 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/misc_64.S b/arch/powerpc/kernel/misc_64.S index 9d09f0ad6efe..ae48a002f81a 100644 --- a/arch/powerpc/kernel/misc_64.S +++ b/arch/powerpc/kernel/misc_64.S | |||
@@ -89,12 +89,12 @@ _GLOBAL(call_do_softirq) | |||
89 | mtlr r0 | 89 | mtlr r0 |
90 | blr | 90 | blr |
91 | 91 | ||
92 | _GLOBAL(call_ppc_irq_dispatch_handler) | 92 | _GLOBAL(call___do_IRQ) |
93 | mflr r0 | 93 | mflr r0 |
94 | std r0,16(r1) | 94 | std r0,16(r1) |
95 | stdu r1,THREAD_SIZE-112(r5) | 95 | stdu r1,THREAD_SIZE-112(r5) |
96 | mr r1,r5 | 96 | mr r1,r5 |
97 | bl .ppc_irq_dispatch_handler | 97 | bl .__do_IRQ |
98 | ld r1,0(r1) | 98 | ld r1,0(r1) |
99 | ld r0,16(r1) | 99 | ld r0,16(r1) |
100 | mtlr r0 | 100 | mtlr r0 |
diff --git a/arch/powerpc/platforms/iseries/irq.c b/arch/powerpc/platforms/iseries/irq.c index a0ff7d95fdf3..01090e9ce0cf 100644 --- a/arch/powerpc/platforms/iseries/irq.c +++ b/arch/powerpc/platforms/iseries/irq.c | |||
@@ -120,13 +120,13 @@ static void intReceived(struct XmPciLpEvent *eventParm, | |||
120 | if (curtp != irqtp) { | 120 | if (curtp != irqtp) { |
121 | irqtp->task = curtp->task; | 121 | irqtp->task = curtp->task; |
122 | irqtp->flags = 0; | 122 | irqtp->flags = 0; |
123 | call_ppc_irq_dispatch_handler(regsParm, irq, irqtp); | 123 | call___do_IRQ(irq, regsParm, irqtp); |
124 | irqtp->task = NULL; | 124 | irqtp->task = NULL; |
125 | if (irqtp->flags) | 125 | if (irqtp->flags) |
126 | set_bits(irqtp->flags, &curtp->flags); | 126 | set_bits(irqtp->flags, &curtp->flags); |
127 | } else | 127 | } else |
128 | #endif | 128 | #endif |
129 | ppc_irq_dispatch_handler(regsParm, irq); | 129 | __do_IRQ(irq, regsParm); |
130 | HvCallPci_eoi(eventParm->eventData.slotInterrupt.busNumber, | 130 | HvCallPci_eoi(eventParm->eventData.slotInterrupt.busNumber, |
131 | eventParm->eventData.slotInterrupt.subBusNumber, | 131 | eventParm->eventData.slotInterrupt.subBusNumber, |
132 | eventParm->eventData.slotInterrupt.deviceId); | 132 | eventParm->eventData.slotInterrupt.deviceId); |
@@ -326,10 +326,8 @@ static void iSeries_disable_IRQ(unsigned int irq) | |||
326 | } | 326 | } |
327 | 327 | ||
328 | /* | 328 | /* |
329 | * Need to define this so ppc_irq_dispatch_handler will NOT call | 329 | * This does nothing because there is not enough information |
330 | * enable_IRQ at the end of interrupt handling. However, this does | 330 | * provided to do the EOI HvCall. This is done by XmPciLpEvent.c |
331 | * nothing because there is not enough information provided to do | ||
332 | * the EOI HvCall. This is done by XmPciLpEvent.c | ||
333 | */ | 331 | */ |
334 | static void iSeries_end_IRQ(unsigned int irq) | 332 | static void iSeries_end_IRQ(unsigned int irq) |
335 | { | 333 | { |
diff --git a/arch/powerpc/platforms/pseries/xics.c b/arch/powerpc/platforms/pseries/xics.c index c72c86f05cb6..405c4f3229b3 100644 --- a/arch/powerpc/platforms/pseries/xics.c +++ b/arch/powerpc/platforms/pseries/xics.c | |||
@@ -567,6 +567,7 @@ nextnode: | |||
567 | 567 | ||
568 | xics_8259_pic.enable = i8259_pic.enable; | 568 | xics_8259_pic.enable = i8259_pic.enable; |
569 | xics_8259_pic.disable = i8259_pic.disable; | 569 | xics_8259_pic.disable = i8259_pic.disable; |
570 | xics_8259_pic.end = i8259_pic.end; | ||
570 | for (i = 0; i < 16; ++i) | 571 | for (i = 0; i < 16; ++i) |
571 | get_irq_desc(i)->handler = &xics_8259_pic; | 572 | get_irq_desc(i)->handler = &xics_8259_pic; |
572 | for (; i < NR_IRQS; ++i) | 573 | for (; i < NR_IRQS; ++i) |