提交 9b95e437 编写于 作者: R Rafael J. Wysocki 提交者: Linus Torvalds

swsusp: fix snapshot_release

Remove the leftover enable_nonboot_cpus() from snapshot_release().
Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
Cc: Nigel Cunningham <nigel@nigel.suspend2.net>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 a7ee2e5f
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册