[PATCH] genirq: add ->retrigger() irq op to consolidate hw_irq_resend()
Add ->retrigger() irq op to consolidate hw_irq_resend() implementations. (Most architectures had it defined to NOP anyway.) NOTE: ia64 needs testing. i386 and x86_64 tested. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
096c8131c5
commit
c0ad90a32f
@ -123,7 +123,8 @@ void enable_irq(unsigned int irq)
|
||||
desc->status = status;
|
||||
if ((status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) {
|
||||
desc->status = status | IRQ_REPLAY;
|
||||
hw_resend_irq(desc->chip,irq);
|
||||
if (desc->chip && desc->chip->retrigger)
|
||||
desc->chip->retrigger(irq);
|
||||
}
|
||||
desc->chip->enable(irq);
|
||||
/* fall-through */
|
||||
|
Reference in New Issue
Block a user