Openwrt/target/linux/lantiq/patches/020-genirq_fix.patch
2011-03-11 08:19:53 +00:00

13 lines
276 B
Diff

--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -678,6 +678,9 @@
kstat_incr_irqs_this_cpu(irq, desc);
+ if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
+ return;
+
if (desc->irq_data.chip->irq_ack)
desc->irq_data.chip->irq_ack(&desc->irq_data);