From: Felix Fietkau Date: Thu, 18 Oct 2007 18:27:33 +0000 (+0000) Subject: don't dispatch spurious irq0 events X-Git-Tag: 8.09_rc1~2381 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3acb27cdd701027dc79fbb2409f1a6275165ed6e;p=openwrt%2Fsvn-archive%2Fopenwrt.git don't dispatch spurious irq0 events SVN-Revision: 9347 --- diff --git a/target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c b/target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c index c5062bac48..ac52d9e5d8 100644 --- a/target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c +++ b/target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c @@ -62,8 +62,6 @@ asmlinkage void ar5312_irq_dispatch(void) } else if (pending & CAUSEF_IP7) { do_IRQ(AR531X_IRQ_CPU_CLOCK); } - else - do_IRQ(AR531X_IRQ_NONE); } diff --git a/target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c b/target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c index eb2e1a7ae1..750c90540d 100644 --- a/target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c +++ b/target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c @@ -76,8 +76,6 @@ asmlinkage void ar5315_irq_dispatch(void) do_IRQ(AR531X_MISC_IRQ_NONE); } else if (pending & CAUSEF_IP7) do_IRQ(AR531X_IRQ_CPU_CLOCK); - else - do_IRQ(AR531X_IRQ_NONE); } static void ar5315_gpio_intr_enable(unsigned int irq)