summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches-2.6.30/200-genirq_fix.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2009-10-02 08:09:27 +0000
committerJohn Crispin <john@openwrt.org>2009-10-02 08:09:27 +0000
commit696c29fa4d08971bdfff339e0a486a61441576e8 (patch)
tree89822e8a29e60514cedb7fd9427070de042a4388 /target/linux/ifxmips/patches-2.6.30/200-genirq_fix.patch
parentb88e08839a8f61f2c9829ba6c9e37b4d60b84b62 (diff)
downloadmaster-31e0f0ae-696c29fa4d08971bdfff339e0a486a61441576e8.tar.gz
master-31e0f0ae-696c29fa4d08971bdfff339e0a486a61441576e8.tar.bz2
master-31e0f0ae-696c29fa4d08971bdfff339e0a486a61441576e8.zip
bump ifxmips to .30
SVN-Revision: 17817
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);
+