Skip to contentSkip to conversation

genirq: change handle_percpu_irq() to use chip->eoi()

PATCH New Ingo Molnar 1 participant 1 message Jun 2, 2006 IRQ

lore
Share & tools
lore
#0 lore raw

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.

---
 kernel/irq/chip.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/irq/chip.c +2 -2
Index: 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 */