MIPS: BMIPS: Introduce helper function to change the reset vector
authorKevin Cernekee <cernekee@gmail.com>
Tue, 21 Oct 2014 04:27:53 +0000 (21:27 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:10 +0000 (07:45 +0100)
commitfc4557879320de99766061a38aaa345c0f72eb31
tree98d706c0374f1c7d198a096db4c0e3fda48859a4
parentbdb2e05c900d0c2a14605411dc054f284241d42e
MIPS: BMIPS: Introduce helper function to change the reset vector

This will need to be called from a few different places, and the logic
is starting to get a bit hairy (with the need for IPIs, CPU bug
workarounds, and hazards).

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: f.fainelli@gmail.com
Cc: mbizon@freebox.fr
Cc: jogo@openwrt.org
Cc: jfraser@broadcom.com
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8158/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-bmips.c