PM: Fix swsusp debug mode testproc
Subsystems (2)
PATCH 1/1 PM: Fix swsusp debug mode testproc
The 'testproc' swsusp debug mode thaws tasks twice in a row, which is _very_ confusing. Fix that.
Signed-off-by Rafael J. Wysocki <[email protected]>
--- kernel/power/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/power/disk.c +1 -1
@@ -153,7 +153,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 );
Quoted 4 lines · Rafael J. Wysocki
The 'testproc' swsusp debug mode thaws tasks twice in a row, which is _very_ confusing. Fix that.
Signed-off-by Rafael J. Wysocki <[email protected]>
ACK.
Quoted 17 lines
--- kernel/power/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Index:
linux-2.6.19-rc6-mm2/kernel/power/disk.c
===================================================================kernel/power/disk.c +1
-1@@ -153,7 +153,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 );
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html