diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2013-06-03 10:39:34 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-07-01 09:10:52 -0400 |
commit | 937ad1042572bb3641fcbbc477f5c6b137b3a5e0 (patch) | |
tree | 1499acaddb73aee85c8904bbb7a131518f251bf9 /arch/mips/bcm63xx | |
parent | 1400eb656760d14274ed08e45824ccbcc366585b (diff) |
MIPS: BCM63XX: Handle SW IRQs 0-1
MIPS software IRQs 0 and 1 are used for interprocessor signaling (IPI)
on BMIPS SMP. Make the board support code aware of them.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
[jogo@openwrt.org: move sw irqs behind timer irq]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: John Crispin <blogic@openwrt.org>
Cc: Maxime Bizon <mbizon@freebox.fr>
Cc: Florian Fainelli <florian@openwrt.org>
Patchwork: https://patchwork.linux-mips.org/patch/5354/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/bcm63xx')
-rw-r--r-- | arch/mips/bcm63xx/irq.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/bcm63xx/irq.c b/arch/mips/bcm63xx/irq.c index c0ab3887f42e..d744606e19e9 100644 --- a/arch/mips/bcm63xx/irq.c +++ b/arch/mips/bcm63xx/irq.c | |||
@@ -294,6 +294,10 @@ asmlinkage void plat_irq_dispatch(void) | |||
294 | 294 | ||
295 | if (cause & CAUSEF_IP7) | 295 | if (cause & CAUSEF_IP7) |
296 | do_IRQ(7); | 296 | do_IRQ(7); |
297 | if (cause & CAUSEF_IP0) | ||
298 | do_IRQ(0); | ||
299 | if (cause & CAUSEF_IP1) | ||
300 | do_IRQ(1); | ||
297 | if (cause & CAUSEF_IP2) | 301 | if (cause & CAUSEF_IP2) |
298 | dispatch_internal(); | 302 | dispatch_internal(); |
299 | if (!is_ext_irq_cascaded) { | 303 | if (!is_ext_irq_cascaded) { |