aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches/020-genirq_fix.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2010-11-03 19:02:27 +0000
committerJohn Crispin <blogic@openwrt.org>2010-11-03 19:02:27 +0000
commitb8a8caa3d78a025506b919f00d559c8ecc050cdc (patch)
tree9166127f79cbe0b37ab9b278968529b8ddfef738 /target/linux/ifxmips/patches/020-genirq_fix.patch
parentb9148123217c9e234fa9855c0db487052ab4211d (diff)
downloadupstream-b8a8caa3d78a025506b919f00d559c8ecc050cdc.tar.gz
upstream-b8a8caa3d78a025506b919f00d559c8ecc050cdc.tar.bz2
upstream-b8a8caa3d78a025506b919f00d559c8ecc050cdc.zip
[ifxmips]:
* bump kernel to 2.6.35.8 * merge arcadyn mach files * fixes ar9 * adds hack for tapi drivers git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23836 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/patches/020-genirq_fix.patch')
-rw-r--r--target/linux/ifxmips/patches/020-genirq_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ifxmips/patches/020-genirq_fix.patch b/target/linux/ifxmips/patches/020-genirq_fix.patch
new file mode 100644
index 0000000000..0503d0d2ac
--- /dev/null
+++ b/target/linux/ifxmips/patches/020-genirq_fix.patch
@@ -0,0 +1,12 @@
+--- a/kernel/irq/chip.c
++++ b/kernel/irq/chip.c
+@@ -650,6 +650,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);
+