summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches-2.6.28/200-genirq_fix.patch
diff options
context:
space:
mode:
authorThomas Langer <thomas.langer@lantiq.com>2009-03-04 14:46:02 +0000
committerThomas Langer <thomas.langer@lantiq.com>2009-03-04 14:46:02 +0000
commitd8f6369756277ecd571681f387fc319d0affdfe5 (patch)
treeb2685cc36ef09c0c452be581bb6d9940ff364a74 /target/linux/ifxmips/patches-2.6.28/200-genirq_fix.patch
parent552fbe65d436e325c29c038aa5c8c8b8e915a7fa (diff)
downloadmaster-31e0f0ae-d8f6369756277ecd571681f387fc319d0affdfe5.tar.gz
master-31e0f0ae-d8f6369756277ecd571681f387fc319d0affdfe5.tar.bz2
master-31e0f0ae-d8f6369756277ecd571681f387fc319d0affdfe5.zip
move kernel support to 2.6.28.7
SVN-Revision: 14747
Diffstat (limited to 'target/linux/ifxmips/patches-2.6.28/200-genirq_fix.patch')
-rw-r--r--target/linux/ifxmips/patches-2.6.28/200-genirq_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ifxmips/patches-2.6.28/200-genirq_fix.patch b/target/linux/ifxmips/patches-2.6.28/200-genirq_fix.patch
new file mode 100644
index 0000000000..2050d1f0bb
--- /dev/null
+++ b/target/linux/ifxmips/patches-2.6.28/200-genirq_fix.patch
@@ -0,0 +1,12 @@
+--- a/kernel/irq/chip.c
++++ b/kernel/irq/chip.c
+@@ -524,6 +524,9 @@ handle_percpu_irq(unsigned int irq, stru
+
+ kstat_incr_irqs_this_cpu(irq, desc);
+
++ if (unlikely(!desc->action || (desc->status & IRQ_DISABLED)))
++ return;
++
+ if (desc->chip->ack)
+ desc->chip->ack(irq);
+