openwrtv3/target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch
Ralph Hempel 8e143d06bf refresh .32 platform patches
SVN-Revision: 21155
2010-04-25 09:50:33 +00:00

12 lines
279 B
Diff

--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -637,6 +637,9 @@ handle_percpu_irq(unsigned int irq, stru
kstat_incr_irqs_this_cpu(irq, desc);
+ if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
+ return;
+
if (desc->chip->ack)
desc->chip->ack(irq);