aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-06-29 05:24:44 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-29 13:26:23 -0400
commitc0ad90a32fb60f4129d0e24dfd5fd7128e2e09f2 (patch)
tree260d99ab74d33a37cbcc3557e2f18a5e96879f4d /kernel/irq
parent096c8131c573ed37939dc3f1440221c92c87e74b (diff)
[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>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/manage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 76c8eda67295..19b438e09f12 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -123,7 +123,8 @@ void enable_irq(unsigned int irq)
123 desc->status = status; 123 desc->status = status;
124 if ((status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) { 124 if ((status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) {
125 desc->status = status | IRQ_REPLAY; 125 desc->status = status | IRQ_REPLAY;
126 hw_resend_irq(desc->chip,irq); 126 if (desc->chip && desc->chip->retrigger)
127 desc->chip->retrigger(irq);
127 } 128 }
128 desc->chip->enable(irq); 129 desc->chip->enable(irq);
129 /* fall-through */ 130 /* fall-through */