aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch
diff options
context:
space:
mode:
authorOpenWrt Developers <openwrt-devel@openwrt.org>2008-12-16 14:07:55 +0000
committerOpenWrt Developers <openwrt-devel@openwrt.org>2008-12-16 14:07:55 +0000
commit269f4bbc24d3061764c9ee37f2da31d3228bec9a (patch)
tree07dc39510a01c7dca62cd1d2a794c1800ecab6c2 /target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch
parent9c2776b652d64041f98918b86f4554b7b678067c (diff)
downloadupstream-269f4bbc24d3061764c9ee37f2da31d3228bec9a.tar.gz
upstream-269f4bbc24d3061764c9ee37f2da31d3228bec9a.tar.bz2
upstream-269f4bbc24d3061764c9ee37f2da31d3228bec9a.zip
[ifxmips] cleanup sources and prepare for 2.6.27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13660 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch')
-rw-r--r--target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch b/target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch
new file mode 100644
index 0000000000..ba6372317c
--- /dev/null
+++ b/target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch
@@ -0,0 +1,12 @@
+--- a/kernel/irq/chip.c
++++ b/kernel/irq/chip.c
+@@ -526,6 +526,9 @@ handle_percpu_irq(unsigned int irq, stru
+
+ kstat_this_cpu.irqs[irq]++;
+
++ if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
++ return;
++
+ if (desc->chip->ack)
+ desc->chip->ack(irq);
+