summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-18 18:27:33 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-18 18:27:33 +0000
commitab70ab79278e80b989e52723546c3df9e1602ee2 (patch)
treecfd70a5900e0a6127960771bb4f1c2bc65100aa7
parent39111df10bcc92d6028cdc3884eea1dc31ceb9ff (diff)
don't dispatch spurious irq0 events
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9347 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/atheros/files/arch/mips/atheros/ar5312/irq.c2
-rw-r--r--target/linux/atheros/files/arch/mips/atheros/ar5315/irq.c2
2 files changed, 0 insertions, 4 deletions
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 c5062bac4..ac52d9e5d 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 eb2e1a7ae..750c90540 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)