aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/user.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2007-05-06 17:50:51 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-07 15:12:59 -0400
commit9b95e43763cfdfebc1318d27e55712e7b6bfe098 (patch)
treecc93bfba24b703948dff993c53c6b222b03b4f8c /kernel/power/user.c
parenta7ee2e5f5b4c9c72f4390c60ba7ea30306f47188 (diff)
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)
86 if (data->frozen) { 86 if (data->frozen) {
87 mutex_lock(&pm_mutex); 87 mutex_lock(&pm_mutex);
88 thaw_processes(); 88 thaw_processes();
89 enable_nonboot_cpus();
90 mutex_unlock(&pm_mutex); 89 mutex_unlock(&pm_mutex);
91 } 90 }
92 atomic_inc(&snapshot_device_available); 91 atomic_inc(&snapshot_device_available);