mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch, -rc5-mm2] genirq: change handle_percpu_irq() to use chip->eoi()
@ 2006-06-02  8:33 Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2006-06-02  8:33 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Benjamin Herrenschmidt, Thomas Gleixner, linux-kernel

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

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@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-02  8:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-02  8:33 [patch, -rc5-mm2] genirq: change handle_percpu_irq() to use chip->eoi() Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®