x86, hotplug, suspend: Online CPU0 for suspend or hibernate
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 13 Nov 2012 19:32:42 +0000 (11:32 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 14 Nov 2012 17:39:49 +0000 (09:39 -0800)
commit209efae12981f3d2d694499b761def10895c078c
tree66f48c25a59226b7e61aaa39c088dc68b37defaa
parent30106c174311b8cfaaa3186c7f6f9c36c62d17da
x86, hotplug, suspend: Online CPU0 for suspend or hibernate

Because x86 BIOS requires CPU0 to resume from sleep, suspend or hibernate can't
be executed if CPU0 is detected offline. To make suspend or hibernate and
further resume succeed, CPU0 must be online.

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