summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch
diff options
context:
space:
mode:
authorralph <ralph@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-24 21:35:49 +0000
committerralph <ralph@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-24 21:35:49 +0000
commit13e93684560de2faa88008652e776d0611f24a40 (patch)
tree67d377039b374049bd8aa421fd5984b1bf5f4f6f /target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch
parent91ef46e29d1858d91240743fe2837b8f39e64b4c (diff)
[ifxmips] add .32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21150 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch')
-rw-r--r--target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch b/target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch
new file mode 100644
index 000000000..852729f09
--- /dev/null
+++ b/target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch
@@ -0,0 +1,14 @@
+Index: linux-2.6.33.2/kernel/irq/chip.c
+===================================================================
+--- linux-2.6.33.2.orig/kernel/irq/chip.c 2010-04-02 01:02:33.000000000 +0200
++++ linux-2.6.33.2/kernel/irq/chip.c 2010-04-02 23:37:40.000000000 +0200
+@@ -650,6 +650,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);
+