diff options
author | Mark Rutland <mark.rutland@arm.com> | 2013-10-24 20:30:18 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-11 21:12:17 +0000 |
commit | d3bde2dcb4434ae9f905d9286e36feb59953f1e3 (patch) | |
tree | 2ee48204db31dfb30b0edff2f572cf451a814c07 /arch/arm64/Kconfig | |
parent | 5ad709f5d9cb351caf1be770d03f420bd88bf248 (diff) |
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>
(cherry picked from commit 9327e2c6bb8cb0131b38a07847cd58c78dc095e9)
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 56b3f6d447ae..022f20097930 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -150,6 +150,13 @@ config NR_CPUS depends on SMP default "4" +config HOTPLUG_CPU + bool "Support for hot-pluggable CPUs" + depends on SMP + help + Say Y here to experiment with turning CPUs off and on. CPUs + can be controlled through /sys/devices/system/cpu. + source kernel/Kconfig.preempt config HZ |