diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2011-03-07 16:59:23 +0300 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-03-10 03:03:58 +0300 |
commit | 5b250889b33bcf06d0d200dbd18d0a3aa5af6ca3 (patch) | |
tree | f003ce52f0fe9005f65c428c83dff64ec5269b55 /arch/powerpc/platforms/86xx/pic.c | |
parent | 712d5d799a0e099437fc4dd42058a33d4fc37882 (diff) | |
download | linux-5b250889b33bcf06d0d200dbd18d0a3aa5af6ca3.tar.xz |
powerpc: platforms/86xx irq_data conversion.
Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/86xx/pic.c')
-rw-r--r-- | arch/powerpc/platforms/86xx/pic.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/86xx/pic.c b/arch/powerpc/platforms/86xx/pic.c index 668275d9e668..cbe33639b478 100644 --- a/arch/powerpc/platforms/86xx/pic.c +++ b/arch/powerpc/platforms/86xx/pic.c @@ -19,10 +19,13 @@ #ifdef CONFIG_PPC_I8259 static void mpc86xx_8259_cascade(unsigned int irq, struct irq_desc *desc) { + struct irq_chip *chip = get_irq_desc_chip(desc); unsigned int cascade_irq = i8259_irq(); + if (cascade_irq != NO_IRQ) generic_handle_irq(cascade_irq); - desc->chip->eoi(irq); + + chip->irq_eoi(&desc->irq_data); } #endif /* CONFIG_PPC_I8259 */ |