mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
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>
This commit is contained in:
parent
a7ee2e5f5b
commit
9b95e43763
1 changed files with 0 additions and 1 deletions
|
@ -86,7 +86,6 @@ static int snapshot_release(struct inode *inode, struct file *filp)
|
||||||
if (data->frozen) {
|
if (data->frozen) {
|
||||||
mutex_lock(&pm_mutex);
|
mutex_lock(&pm_mutex);
|
||||||
thaw_processes();
|
thaw_processes();
|
||||||
enable_nonboot_cpus();
|
|
||||||
mutex_unlock(&pm_mutex);
|
mutex_unlock(&pm_mutex);
|
||||||
}
|
}
|
||||||
atomic_inc(&snapshot_device_available);
|
atomic_inc(&snapshot_device_available);
|
||||||
|
|
Loading…
Reference in a new issue