summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDavid Shaohua Li <shaohua.li@intel.com>2005-11-23 12:36:00 -0500
committerLen Brown <len.brown@intel.com>2005-11-30 23:15:55 -0500
commit1a38416cea8ac801ae8f261074721f35317613dc (patch)
tree5129ce08bdd6cfe70447f53000266c4caea32bec /kernel
parentd2149b542382bfc206cb28485108f6470c979566 (diff)
downloadop-kernel-dev-1a38416cea8ac801ae8f261074721f35317613dc.zip
op-kernel-dev-1a38416cea8ac801ae8f261074721f35317613dc.tar.gz
[ACPI] SMP S3 resume: evaluate _WAK after INIT
On SMP resume from S3, we reset (INIT) the non-boot processors to boot them cleanly. But the BIOS needs to execute _WAK after INIT in order to properly initialized these processors upon resume. http://bugzilla.kernel.org/show_bug.cgi?id=5651 Signed-off-by: David Shaohua Li <shaohua.li@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/power/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c
index d253f3a..9cb235c 100644
--- a/kernel/power/main.c
+++ b/kernel/power/main.c
@@ -133,10 +133,10 @@ static int suspend_enter(suspend_state_t state)
static void suspend_finish(suspend_state_t state)
{
device_resume();
- if (pm_ops && pm_ops->finish)
- pm_ops->finish(state);
thaw_processes();
enable_nonboot_cpus();
+ if (pm_ops && pm_ops->finish)
+ pm_ops->finish(state);
pm_restore_console();
}
OpenPOWER on IntegriCloud