From: Rafael J. Wysocki Date: Sun, 6 May 2007 21:50:51 +0000 (-0700) Subject: swsusp: fix snapshot_release X-Git-Tag: v2.6.22-rc1~894 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b95e43763cfdfebc1318d27e55712e7b6bfe098;p=linux-2.6 swsusp: fix snapshot_release Remove the leftover enable_nonboot_cpus() from snapshot_release(). Signed-off-by: Rafael J. Wysocki Cc: Nigel Cunningham Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/power/user.c b/kernel/power/user.c index ad4e10208c..040560d9c3 100644 --- a/kernel/power/user.c +++ b/kernel/power/user.c @@ -86,7 +86,6 @@ static int snapshot_release(struct inode *inode, struct file *filp) if (data->frozen) { mutex_lock(&pm_mutex); thaw_processes(); - enable_nonboot_cpus(); mutex_unlock(&pm_mutex); } atomic_inc(&snapshot_device_available);