]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit97aa8448d56e36759aac25d1cf80e114d4a11bec
tree8eb8a8d8586c27c4667f1b4a615e13fdb1f099fb
parent40d8b75499c0f31f478c37d508cab15550ab848c
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 f3a9575c2b500a12 ("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