summaryrefslogtreecommitdiff
path: root/kernel/up.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-08-05 11:50:25 +0100
committerRalf Baechle <ralf@linux-mips.org>2013-08-05 13:35:18 +0200
commitfcfa66de8a2f0631a65a2cec0f6149dafd36ec81 (patch)
tree2971e7109a0579d5a6acdf038881b757029948a3 /kernel/up.c
parentcf5b2d23a75cbb53785d270e76e4911e84797b72 (diff)
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>
Diffstat (limited to 'kernel/up.c')
0 files changed, 0 insertions, 0 deletions