]> git.baikalelectronics.ru Git - kernel.git/commit
x86, Kconfig: Add config switch for CPU0 hotplug
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 13 Nov 2012 19:32:39 +0000 (11:32 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 14 Nov 2012 17:39:46 +0000 (09:39 -0800)
commit7c027bc3eec02d7e43b2e13c279f1803b8394683
tree472f28690aca0b918786cbb3416323f1189857f4
parent68b53372ad25b55e453a15b3ab948b9cccb87d1b
x86, Kconfig: Add config switch for CPU0 hotplug

New config switch CONFIG_BOOTPARAM_HOTPLUG_CPU0 sets default state of whether
the CPU0 hotplug is on or off.

If the switch is off, CPU0 is not hotpluggable by default. But the CPU0 hotplug
feature can still be turned on by kernel parameter cpu0_hotplug at boot.

If the switch is on, CPU0 is always hotpluggable.

The default value of the switch is off.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1352835171-3958-3-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/Kconfig