summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-09-06 05:38:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-09-06 05:38:23 +0000
commit65d809ef19b0ed7645a2d252932159230a2848f0 (patch)
treecb6f509c33630a52c828c546625ee2f6789ac103
parentcbe164a295ba9193799958adda000e0c5c401688 (diff)
downloadmtk-20170518-65d809ef19b0ed7645a2d252932159230a2848f0.zip
mtk-20170518-65d809ef19b0ed7645a2d252932159230a2848f0.tar.gz
mtk-20170518-65d809ef19b0ed7645a2d252932159230a2848f0.tar.bz2
ar71xx: do not count normal interrupts as spurious (fixes #10037)
SVN-Revision: 28182
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c
index 77acdfd..ff39d3a 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/irq.c
@@ -324,7 +324,8 @@ asmlinkage void plat_irq_dispatch(void)
else if (pending & STATUSF_IP6)
ar71xx_misc_irq_dispatch();
- spurious_interrupt();
+ else
+ spurious_interrupt();
}
void __init arch_init_irq(void)