summaryrefslogtreecommitdiffstats
path: root/kernel/power/user.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2007-05-06 23:50:51 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 21:12:59 +0200
commit9b95e43763cfdfebc1318d27e55712e7b6bfe098 (patch)
treecc93bfba24b703948dff993c53c6b222b03b4f8c /kernel/power/user.c
parentkconfig: mention 'hibernation' not just swsusp (diff)
downloadlinux-9b95e43763cfdfebc1318d27e55712e7b6bfe098.tar.xz
linux-9b95e43763cfdfebc1318d27e55712e7b6bfe098.zip
swsusp: fix snapshot_release
Remove the leftover enable_nonboot_cpus() from snapshot_release(). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Cc: Nigel Cunningham <nigel@nigel.suspend2.net> Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/power/user.c')
-rw-r--r--kernel/power/user.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/power/user.c b/kernel/power/user.c
index ad4e10208cde..040560d9c312 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);