summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/common.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-02-15 13:20:08 +0100
committerSimon Horman <horms+renesas@verge.net.au>2016-02-17 18:27:21 +0900
commit901c5ffaaed117a38be9d0c29247c4888d6c8636 (patch)
tree8eb8a8d8586c27c4667f1b4a615e13fdb1f099fb /arch/arm/mach-shmobile/common.h
parent4e960f52fce16a3bf3261fa92c34cf2306059ba2 (diff)
downloadblackbird-obmc-linux-901c5ffaaed117a38be9d0c29247c4888d6c8636.tar.gz
blackbird-obmc-linux-901c5ffaaed117a38be9d0c29247c4888d6c8636.zip
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/common.h')
-rw-r--r--arch/arm/mach-shmobile/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/common.h b/arch/arm/mach-shmobile/common.h
index 9cb11215ceba..b3a4ed5289ec 100644
--- a/arch/arm/mach-shmobile/common.h
+++ b/arch/arm/mach-shmobile/common.h
@@ -4,7 +4,6 @@
extern void shmobile_init_delay(void);
extern void shmobile_boot_vector(void);
extern unsigned long shmobile_boot_fn;
-extern unsigned long shmobile_boot_arg;
extern unsigned long shmobile_boot_size;
extern void shmobile_smp_boot(void);
extern void shmobile_smp_sleep(void);
OpenPOWER on IntegriCloud