diff options
Diffstat (limited to 'kernel/power/user.c')
-rw-r--r-- | kernel/power/user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/user.c b/kernel/power/user.c index 2e4499f3e4d9..72825c853cd7 100644 --- a/kernel/power/user.c +++ b/kernel/power/user.c | |||
@@ -196,7 +196,7 @@ static int snapshot_ioctl(struct inode *inode, struct file *filp, | |||
196 | snapshot_free_unused_memory(&data->handle); | 196 | snapshot_free_unused_memory(&data->handle); |
197 | down(&pm_sem); | 197 | down(&pm_sem); |
198 | pm_prepare_console(); | 198 | pm_prepare_console(); |
199 | error = device_suspend(PMSG_FREEZE); | 199 | error = device_suspend(PMSG_PRETHAW); |
200 | if (!error) { | 200 | if (!error) { |
201 | error = swsusp_resume(); | 201 | error = swsusp_resume(); |
202 | device_resume(); | 202 | device_resume(); |