]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BMIPS: fix hardware interrupt routing for boot CPU != 0
authorFlorian Fainelli <florian@openwrt.org>
Mon, 5 Aug 2013 10:50:25 +0000 (11:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Aug 2013 11:35:18 +0000 (13:35 +0200)
commitd934b8c678020106e3231a283864d0647554e6d1
tree2971e7109a0579d5a6acdf038881b757029948a3
parent0b9e41041a4f0ac14a0106c083e98051692eb9a6
MIPS: BMIPS: fix hardware interrupt routing for boot CPU != 0

The hardware interrupt routing for boot CPU != 0 is wrong because it
will route all the hardware interrupts to TP0 which is not the one we
booted from. Fix this by properly checking which boot CPU we are booting
from and updating the right interrupt mask for the boot CPU. This fixes
booting on BCM3368 with bmips_smp_emabled = 0.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Cc: linux-mips@linux-mips.org
Cc: blogic@openwrt.org
Cc: jogo@openwrt.org
Cc: cernekee@gmail.com
Patchwork: https://patchwork.linux-mips.org/patch/5650/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-bmips.c