summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch
diff options
context:
space:
mode:
authorThomas Langer <thomas.langer@lantiq.com>2008-12-16 14:07:55 +0000
committerThomas Langer <thomas.langer@lantiq.com>2008-12-16 14:07:55 +0000
commit7570eebcdd5628978cbdbab2fb7cb99abbc62360 (patch)
tree46e045fd88294505c849b475f46e1556278ae300 /target/linux/ifxmips/patches-2.6.27/200-genirq_fix.patch
parente7336673b14fe311ae493eee86ba8983792bcf02 (diff)
downloadmtk-20170518-7570eebcdd5628978cbdbab2fb7cb99abbc62360.zip
mtk-20170518-7570eebcdd5628978cbdbab2fb7cb99abbc62360.tar.gz
mtk-20170518-7570eebcdd5628978cbdbab2fb7cb99abbc62360.tar.bz2
cleanup sources and prepare for 2.6.27
SVN-Revision: 13660
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 0000000..ba63723
--- /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);
+