summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/headsmp.S
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-08-08 07:14:07 +0900
committerSimon Horman <horms+renesas@verge.net.au>2013-09-20 17:47:31 -0700
commita84a5ab73f77a5dd4f09f0af33f09d8d751d0cc7 (patch)
tree20b2055c4b69ea46489d94c2512acec562d2fbdb /arch/arm/mach-shmobile/headsmp.S
parent87a08ca0f7f99b3136c763377c547a89cf6d0996 (diff)
downloadtalos-obmc-linux-a84a5ab73f77a5dd4f09f0af33f09d8d751d0cc7.tar.gz
talos-obmc-linux-a84a5ab73f77a5dd4f09f0af33f09d8d751d0cc7.zip
ARM: shmobile: Introduce shmobile_boot_size
Introduce shmobile_boot_size that can be used by future SMP code to determine the size of the boot code that needs to be copied to internal SRAM. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/headsmp.S')
-rw-r--r--arch/arm/mach-shmobile/headsmp.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/headsmp.S b/arch/arm/mach-shmobile/headsmp.S
index f93751caf5cb..e5be5c88644b 100644
--- a/arch/arm/mach-shmobile/headsmp.S
+++ b/arch/arm/mach-shmobile/headsmp.S
@@ -40,6 +40,9 @@ shmobile_boot_fn:
.globl shmobile_boot_arg
shmobile_boot_arg:
2: .space 4
+ .globl shmobile_boot_size
+shmobile_boot_size:
+ .long . - shmobile_boot_vector
/*
* Per-CPU SMP boot function/argument selection code based on MPIDR
OpenPOWER on IntegriCloud