aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches-2.6.30/200-genirq_fix.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2009-10-02 08:09:27 +0000
committerJohn Crispin <blogic@openwrt.org>2009-10-02 08:09:27 +0000
commit1d74dc98755ec22bf1d5dada5ba66c06b0fcf842 (patch)
tree60fe3dbf83bf1fb7dc3f87a1b7495bbd90d5ff54 /target/linux/ifxmips/patches-2.6.30/200-genirq_fix.patch
parenta9f35cf146079654061cddf8ad854a40b3d95f69 (diff)
downloadmaster-187ad058-1d74dc98755ec22bf1d5dada5ba66c06b0fcf842.tar.gz
master-187ad058-1d74dc98755ec22bf1d5dada5ba66c06b0fcf842.tar.bz2
master-187ad058-1d74dc98755ec22bf1d5dada5ba66c06b0fcf842.zip
bump ifxmips to .30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17817 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/patches-2.6.30/200-genirq_fix.patch')
-rw-r--r--target/linux/ifxmips/patches-2.6.30/200-genirq_fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ifxmips/patches-2.6.30/200-genirq_fix.patch b/target/linux/ifxmips/patches-2.6.30/200-genirq_fix.patch
new file mode 100644
index 0000000000..1fbd4c86e0
--- /dev/null
+++ b/target/linux/ifxmips/patches-2.6.30/200-genirq_fix.patch
@@ -0,0 +1,14 @@
+Index: linux-2.6.30.5/kernel/irq/chip.c
+===================================================================
+--- linux-2.6.30.5.orig/kernel/irq/chip.c 2009-09-02 20:09:15.000000000 +0200
++++ linux-2.6.30.5/kernel/irq/chip.c 2009-09-02 20:09:25.000000000 +0200
+@@ -537,6 +537,9 @@
+
+ kstat_incr_irqs_this_cpu(irq, desc);
+
++ if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
++ return;
++
+ if (desc->chip->ack)
+ desc->chip->ack(irq);
+