aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch
diff options
context:
space:
mode:
authorRalph Hempel <ralph.hempel@lantiq.com>2010-04-24 21:35:49 +0000
committerRalph Hempel <ralph.hempel@lantiq.com>2010-04-24 21:35:49 +0000
commite0ad8eee8ff4674e809ea0026379917bccc807fa (patch)
tree3051fcdf0bb4a1c8cb604776bc740d9c6fc5b227 /target/linux/ifxmips/patches-2.6.32/020-genirq_fix.patch
parent3698130f873b89420e6c755ea691b56ed091a67d (diff)
downloadupstream-e0ad8eee8ff4674e809ea0026379917bccc807fa.tar.gz
upstream-e0ad8eee8ff4674e809ea0026379917bccc807fa.tar.bz2
upstream-e0ad8eee8ff4674e809ea0026379917bccc807fa.zip
add .32 patches
SVN-Revision: 21150
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 0000000000..852729f092
--- /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);
+