summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/include/mach/common.h
diff options
context:
space:
mode:
authorMagnus Damm2013-02-13 14:47:17 +0100
committerSimon Horman2013-03-12 18:13:19 +0100
commit4c8228455d1008136d748e6973dd72578bab4697 (patch)
tree2b057e7ce7c6803d602f873dc4d3268bf94ef65e /arch/arm/mach-shmobile/include/mach/common.h
parentARM: shmobile: Move headsmp-sh73a0.S to headsmp-scu.S (diff)
downloadkernel-qcow2-linux-4c8228455d1008136d748e6973dd72578bab4697.tar.gz
kernel-qcow2-linux-4c8228455d1008136d748e6973dd72578bab4697.tar.xz
kernel-qcow2-linux-4c8228455d1008136d748e6973dd72578bab4697.zip
ARM: shmobile: Common shmobile_scu_base in headsmp-scu.S
Update the code in headsmp-scu.S to use a global shmobile_scu_base variable both for convenient SCU base address storage and for the early SCU setup code in shmobile_secondary_vector_scu. With this patch applied r8a7779, sh73a0 and EMEV2 all make use of the global shmobile_scu_base variable. However only sh73a0 makes use of the SCU bring up code in shmobile_secondary_vector_scu. 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/include/mach/common.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/common.h b/arch/arm/mach-shmobile/include/mach/common.h
index 20acf000b46b..84dcaa4279b2 100644
--- a/arch/arm/mach-shmobile/include/mach/common.h
+++ b/arch/arm/mach-shmobile/include/mach/common.h
@@ -95,6 +95,7 @@ extern int shmobile_cpu_is_dead(unsigned int cpu);
static inline int shmobile_cpu_is_dead(unsigned int cpu) { return 1; }
#endif
+extern void __iomem *shmobile_scu_base;
extern void shmobile_smp_init_cpus(unsigned int ncores);
static inline void __init shmobile_init_late(void)