genirq: change handle_percpu_irq() to use chip->eoi()
PATCH 1/1 genirq: change handle_percpu_irq() to use chip->eoi()
Subject: genirq: change handle_percpu_irq() to use chip->eoi()
From: Ingo Molnar <[email protected]>
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 <[email protected]>
Signed-off-by Thomas Gleixner <[email protected]>
--- kernel/irq/chip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/irq/chip.c +2 -2
@@ -435,8 +435,8 @@ handle_percpu_irq(unsigned int irq, struif (!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 */