aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/base.c
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-07-24 17:12:11 +0100
committerRalf Baechle <ralf@linux-mips.org>2013-07-30 18:54:29 +0200
commitff5fadaff39180dc0b652753b5614a564711be29 (patch)
tree07662c3a1f58bd8355a4f7d3da23c2962f15be07 /drivers/net/wireless/rtlwifi/base.c
parentMIPS: BMIPS: do not change interrupt routing depending on boot CPU (diff)
downloadlinux-dev-ff5fadaff39180dc0b652753b5614a564711be29.tar.xz
linux-dev-ff5fadaff39180dc0b652753b5614a564711be29.zip
MIPS: BMIPS: fix slave CPU booting when physical CPU is not 0
The current BMIPS SMP code assumes that the slave CPU is physical and logical CPU 1, but on some systems such as BCM3368, the slave CPU is physical CPU0. Fix the code to read the physical CPU (thread ID) we are running this code on, and adjust the relocation vector address based on it. This allows bringing up the second CPU on BCM3368 for instance. Signed-off-by: Florian Fainelli <florian@openwrt.org> Cc: linux-mips@linux-mips.org Cc: cernekee@gmail.com Cc: jogo@openwrt.org Cc: blogic@openwrt.org Patchwork: https://patchwork.linux-mips.org/patch/5621/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/base.c')
0 files changed, 0 insertions, 0 deletions