aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/smp_plat.h
diff options
context:
space:
mode:
authorAbhimanyu Kapur <abhimany@codeaurora.org>2014-02-18 09:36:37 -0800
committerMatt Wagantall <mattw@codeaurora.org>2015-05-30 20:22:36 -0700
commit17fd1174f243cc0a33a31a2c7e33e051bd884136 (patch)
treeb7a40ac6274eb674e7ac78de393f35c955901a20 /arch/arm64/include/asm/smp_plat.h
parent07b97c487ad8faecd264a5fad4967065bd96a2c9 (diff)
arm64: smp: move the pen to a header file
Move the secondary_pen_release variable and the secondary_holding_pen entry function to asm/smp_plat.h so that the other cpu ops implementations can share them. Change-Id: I9cee3e01185df5e9977795cc778848d91d370b70 Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>
Diffstat (limited to 'arch/arm64/include/asm/smp_plat.h')
-rw-r--r--arch/arm64/include/asm/smp_plat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/smp_plat.h b/arch/arm64/include/asm/smp_plat.h
index 59e282311b58..235ff04f4704 100644
--- a/arch/arm64/include/asm/smp_plat.h
+++ b/arch/arm64/include/asm/smp_plat.h
@@ -34,10 +34,12 @@ static inline u32 mpidr_hash_size(void)
return 1 << mpidr_hash.bits;
}
+extern void secondary_holding_pen(void);
/*
* Logical CPU mapping.
*/
extern u64 __cpu_logical_map[NR_CPUS];
#define cpu_logical_map(cpu) __cpu_logical_map[cpu]
+extern volatile unsigned long secondary_holding_pen_release;
#endif /* __ASM_SMP_PLAT_H */