x86, topology: Don't offline CPU0 if any PIC irq can not be migrated out of it
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 13 Nov 2012 19:32:40 +0000 (11:32 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 14 Nov 2012 17:39:47 +0000 (09:39 -0800)
commit4d25031a81d3cd32edc00de6596db76cc4010685
treef0786770dd05073e31781099b6645a5302a95e35
parent80aa1dff65717e7518647d4e27d1d3dcea5818e6
x86, topology: Don't offline CPU0 if any PIC irq can not be migrated out of it

If CONFIG_BOOTPARAM_HOTPLUG_CPU is turned on, CPU0 hotplug feature is enabled
by default.

If CONFIG_BOOTPARAM_HOTPLUG_CPU is not turned on, CPU0 hotplug feature is not
enabled by default. The kernel parameter cpu0_hotplug can enable CPU0 hotplug
feature at boot.

Currently the feature is supported on Intel platforms only.

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