summaryrefslogtreecommitdiff
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorAbhimanyu Kapur <abhimany@codeaurora.org>2014-02-18 09:36:37 -0800
committerGeorgi Djakov <georgi.djakov@linaro.org>2015-02-19 10:50:52 +0200
commit4cd0e54ab696db0df0671b0ab873b835349b078f (patch)
treecc231c72e2ad65c2aac582aa76577ae01d334f0c /arch/arm64/include
parentf53335807992313adb5101253d8b70e0a1c4905e (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> Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Diffstat (limited to 'arch/arm64/include')
-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 59e282311b5..235ff04f470 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 */