[PATCH 09/28] powerpc: platforms/chrp irq_data conversion.
Lennert Buytenhek
buytenh at wantstofly.org
Tue Mar 8 10:59:31 EST 2011
Signed-off-by: Lennert Buytenhek <buytenh at secretlab.ca>
---
arch/powerpc/platforms/chrp/setup.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/arch/powerpc/platforms/chrp/setup.c b/arch/powerpc/platforms/chrp/setup.c
index 8553cc4..4c12884 100644
--- a/arch/powerpc/platforms/chrp/setup.c
+++ b/arch/powerpc/platforms/chrp/setup.c
@@ -365,10 +365,13 @@ void __init chrp_setup_arch(void)
static void chrp_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);
}
/*
--
1.7.4
More information about the Linuxppc-dev
mailing list