aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/resend.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-09-27 08:45:53 -0400
committerThomas Gleixner <tglx@linutronix.de>2010-10-04 06:43:50 -0400
commit21e2b8c62cca8f7dbec0c8c131ca1637e4a5670f (patch)
tree8810be220dc49cf78c055ba960b1083cd1459a21 /kernel/irq/resend.c
parent2f7e99bb9be6a2d8d7b808dc86037710cc8b7bf1 (diff)
genirq: Provide compat handling for chip->retrigger()
Wrap the old chip function retrigger() until the migration is complete and the old chip functions are removed. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <20100927121843.025801092@linutronix.de> Reviewed-by: H. Peter Anvin <hpa@zytor.com> Reviewed-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/irq/resend.c')
-rw-r--r--kernel/irq/resend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/irq/resend.c b/kernel/irq/resend.c
index a798a2328f8a..891115a929aa 100644
--- a/kernel/irq/resend.c
+++ b/kernel/irq/resend.c
@@ -70,8 +70,8 @@ void check_irq_resend(struct irq_desc *desc, unsigned int irq)
70 if ((status & (IRQ_LEVEL | IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) { 70 if ((status & (IRQ_LEVEL | IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) {
71 desc->status = (status & ~IRQ_PENDING) | IRQ_REPLAY; 71 desc->status = (status & ~IRQ_PENDING) | IRQ_REPLAY;
72 72
73 if (!desc->irq_data.chip->retrigger || 73 if (!desc->irq_data.chip->irq_retrigger ||
74 !desc->irq_data.chip->retrigger(irq)) { 74 !desc->irq_data.chip->irq_retrigger(&desc->irq_data)) {
75#ifdef CONFIG_HARDIRQS_SW_RESEND 75#ifdef CONFIG_HARDIRQS_SW_RESEND
76 /* Set it pending and activate the softirq: */ 76 /* Set it pending and activate the softirq: */
77 set_bit(irq, irqs_resend); 77 set_bit(irq, irqs_resend);