[ifxmips] move kernel support to 2.6.28.7
[openwrt-10.03/.git] / target / linux / ifxmips / patches-2.6.28 / 200-genirq_fix.patch
diff --git a/target/linux/ifxmips/patches-2.6.28/200-genirq_fix.patch b/target/linux/ifxmips/patches-2.6.28/200-genirq_fix.patch
new file mode 100644 (file)
index 0000000..2050d1f
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/kernel/irq/chip.c
++++ b/kernel/irq/chip.c
+@@ -524,6 +524,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);