ARM: shmobile: Remove shmobile_boot_arg
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 15 Feb 2016 12:20:08 +0000 (13:20 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 17 Feb 2016 09:27:21 +0000 (18:27 +0900)
commit901c5ffaaed117a38be9d0c29247c4888d6c8636
tree8eb8a8d8586c27c4667f1b4a615e13fdb1f099fb
parent4e960f52fce16a3bf3261fa92c34cf2306059ba2
ARM: shmobile: Remove shmobile_boot_arg

CPU boot configuration writes to shmobile_boot_arg, which is located in
the .text section, and thus should not be written to.

As of commit 1d33a354bbb618ba ("ARM: shmobile: Per-CPU SMP boot / sleep
code for SCU SoCs"), and ignoring accidental remainings,
shmobile_boot_arg is always set to MPIDR_HWID_BITMASK by C code.
Hence we can just hardcode this in the assembler code, and remove the
variable, and thus also remove the need to write to this variable.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/common.h
arch/arm/mach-shmobile/headsmp.S
arch/arm/mach-shmobile/platsmp-apmu.c
arch/arm/mach-shmobile/platsmp-scu.c