diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-11-09 00:19:53 -0500 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-11-09 00:19:53 -0500 |
commit | d4be4f37d9d2a5afc8e79a95beafbac4b83f20c5 (patch) | |
tree | 848bb06787a199c777c9e54ebd33c5f80d398c1b /arch/powerpc/platforms/iseries/irq.c | |
parent | 5a7b3ff4670be3330842558dc5ae46ec3fc448e5 (diff) |
ppc64: remove ppc_irq_dispatch_handler
Use __do_IRQ instead. The only difference is that every controller
is now assumed to have an end() routine (only xics_8259 did not).
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/platforms/iseries/irq.c')
-rw-r--r-- | arch/powerpc/platforms/iseries/irq.c | 10 |
1 files changed, 4 insertions, 6 deletions
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 | { |