[patch, -rc5-mm2] genirq: change handle_percpu_irq() to use chip->eoi()

From: Ingo Molnar
Date: Fri Jun 02 2006 - 04:32:39 EST


Subject: genirq: change handle_percpu_irq() to use chip->eoi()
From: Ingo Molnar <mingo@xxxxxxx>

Ben noticed that handle_percpu_irq() [which he uses in his irqchips port
of ppc] should be using the ->eoi() chip method, not the old-style
->end() method.

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
kernel/irq/chip.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux/kernel/irq/chip.c
===================================================================
--- linux.orig/kernel/irq/chip.c
+++ linux/kernel/irq/chip.c
@@ -435,8 +435,8 @@ handle_percpu_irq(unsigned int irq, stru
if (!noirqdebug)
note_interrupt(irq, desc, action_ret, regs);

- if (desc->chip->end)
- desc->chip->end(irq);
+ if (desc->chip->eoi)
+ desc->chip->eoi(irq);
}

#endif /* CONFIG_SMP */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/