swsusp: fix snapshot_release
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 6 May 2007 21:50:51 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:12:59 +0000 (12:12 -0700)
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>
kernel/power/user.c

index ad4e10208cdedacdaec754a968eb8c04a4d41283..040560d9c3123b50502fdfd3dd0518e822086060 100644 (file)
@@ -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);