diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-10 20:11:28 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-10 20:11:28 +0000 |
commit | 656f01b9c97c1b6c0c46cf67d61cac82700cc30c (patch) | |
tree | d38795257e7a4e8fcbdda67339364f9c559ccaea /target/linux/ifxmips/patches-2.6.33/020-genirq_fix.patch | |
parent | 8803bd5059483701a7a5aa576c12d3a50b56a59c (diff) |
[ifxmips] adss 2.6.33 kernel patches, not defult yet as linux-atm breaks on 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20789 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/patches-2.6.33/020-genirq_fix.patch')
-rw-r--r-- | target/linux/ifxmips/patches-2.6.33/020-genirq_fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ifxmips/patches-2.6.33/020-genirq_fix.patch b/target/linux/ifxmips/patches-2.6.33/020-genirq_fix.patch new file mode 100644 index 000000000..852729f09 --- /dev/null +++ b/target/linux/ifxmips/patches-2.6.33/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); + |