x86, hotplug: Support functions for CPU0 online/offline
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 13 Nov 2012 19:32:41 +0000 (11:32 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 14 Nov 2012 17:39:48 +0000 (09:39 -0800)
commit30106c174311b8cfaaa3186c7f6f9c36c62d17da
tree58a0c368ebd8ccc48dddc9b723ed1296b9e741db
parent4d25031a81d3cd32edc00de6596db76cc4010685
x86, hotplug: Support functions for CPU0 online/offline

Add smp_store_boot_cpu_info() to store cpu info for BSP during boot time.

Now smp_store_cpu_info() stores cpu info for bringing up BSP or AP after
it's offline.

Continue to online CPU0 in native_cpu_up().

Continue to offline CPU0 in native_cpu_disable().

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