aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2013-07-03 19:15:24 +0800
committerGraeme Gregory <graeme.gregory@linaro.org>2013-09-25 14:01:22 +0100
commit0dae596e0ea5980dfbdf554833cb119f06d558e7 (patch)
tree582f9746133e84f7eedd896df3bd56690410b64f /arch/arm64/include
parent4b47cbcd4f564cb23b73bcd68b5d5b90aebb10c6 (diff)
ARM64 / CPU hot-plug: Skeleton logic cpu online/offline for cpu hot-plug
CPU logic online/offline was not implemented on arm64 which is essential for cpu hot-plug, so skeleton the logic cpu online/offline to make arm64 code compile when CONFIG_HOTPLUG_CPU was introduced. It should be fully implemented at later date. Will discuss it with power management team in LCE13. Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/smp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/smp.h b/arch/arm64/include/asm/smp.h
index 4b8023c5d146..95c9f5865000 100644
--- a/arch/arm64/include/asm/smp.h
+++ b/arch/arm64/include/asm/smp.h
@@ -63,6 +63,9 @@ extern struct secondary_data secondary_data;
extern void secondary_holding_pen(void);
extern volatile unsigned long secondary_holding_pen_release;
+extern int __cpu_disable(void);
+extern void __cpu_die(unsigned int cpu);
+
extern void arch_send_call_function_single_ipi(int cpu);
extern void arch_send_call_function_ipi_mask(const struct cpumask *mask);