diff options
author | Mark Rutland <mark.rutland@arm.com> | 2013-10-24 21:30:18 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2013-10-25 12:33:21 +0200 |
commit | 9327e2c6bb8cb0131b38a07847cd58c78dc095e9 (patch) | |
tree | a326739547f5521d1c1b2d228081f52466609e6c /arch/arm64/include/asm/smp.h | |
parent | arm64: read enable-method for CPU0 (diff) | |
download | linux-9327e2c6bb8cb0131b38a07847cd58c78dc095e9.tar.xz linux-9327e2c6bb8cb0131b38a07847cd58c78dc095e9.zip |
arm64: add CPU_HOTPLUG infrastructure
This patch adds the basic infrastructure necessary to support
CPU_HOTPLUG on arm64, based on the arm implementation. Actual hotplug
support will depend on an implementation's cpu_operations (e.g. PSCI).
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/smp.h')
-rw-r--r-- | arch/arm64/include/asm/smp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/smp.h b/arch/arm64/include/asm/smp.h index d64187ce69a2..a498f2cd2c2a 100644 --- a/arch/arm64/include/asm/smp.h +++ b/arch/arm64/include/asm/smp.h @@ -65,4 +65,9 @@ extern void secondary_entry(void); extern void arch_send_call_function_single_ipi(int cpu); extern void arch_send_call_function_ipi_mask(const struct cpumask *mask); +extern int __cpu_disable(void); + +extern void __cpu_die(unsigned int cpu); +extern void cpu_die(void); + #endif /* ifndef __ASM_SMP_H */ |