diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-02-15 13:20:08 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2016-02-17 18:27:21 +0900 |
commit | 901c5ffaaed117a38be9d0c29247c4888d6c8636 (patch) | |
tree | 8eb8a8d8586c27c4667f1b4a615e13fdb1f099fb /arch/arm/mach-shmobile/platsmp-scu.c | |
parent | 4e960f52fce16a3bf3261fa92c34cf2306059ba2 (diff) | |
download | op-kernel-dev-901c5ffaaed117a38be9d0c29247c4888d6c8636.zip op-kernel-dev-901c5ffaaed117a38be9d0c29247c4888d6c8636.tar.gz |
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>
Diffstat (limited to 'arch/arm/mach-shmobile/platsmp-scu.c')
-rw-r--r-- | arch/arm/mach-shmobile/platsmp-scu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/platsmp-scu.c b/arch/arm/mach-shmobile/platsmp-scu.c index f2198c9..081a097 100644 --- a/arch/arm/mach-shmobile/platsmp-scu.c +++ b/arch/arm/mach-shmobile/platsmp-scu.c @@ -44,7 +44,6 @@ void __init shmobile_smp_scu_prepare_cpus(unsigned int max_cpus) { /* install boot code shared by all CPUs */ shmobile_boot_fn = virt_to_phys(shmobile_smp_boot); - shmobile_boot_arg = MPIDR_HWID_BITMASK; /* enable SCU and cache coherency on booting CPU */ scu_enable(shmobile_scu_base); |