]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitacc6e8d106516de3fe0bfc3b6772b528e6d05f07
tree58a0c368ebd8ccc48dddc9b723ed1296b9e741db
parent5fab8ba5ef8e1eb45c61f4499927028e3fa2bdf4
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