Skip to content

Commit

Permalink
swsusp: fix snapshot_release
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafael J. Wysocki authored and Linus Torvalds committed May 7, 2007
1 parent a7ee2e5 commit 9b95e43
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/power/user.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9b95e43

Please sign in to comment.