Skip to content

Commit

Permalink
[PATCH] PM: Fix swsusp debug mode testproc
Browse files Browse the repository at this point in the history
The 'testproc' swsusp debug mode thaws tasks twice in a row, which is _very_
confusing.  Fix that.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Rafael J. Wysocki authored and Linus Torvalds committed Dec 7, 2006
1 parent 06df6a5 commit 2d87595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/power/disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ int pm_suspend_disk(void)
return error;

if (pm_disk_mode == PM_DISK_TESTPROC)
goto Thaw;
return 0;

suspend_console();
error = device_suspend(PMSG_FREEZE);
Expand Down

0 comments on commit 2d87595

Please sign in to comment.