[PATCH] swsusp: Untangle thaw_processes
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 7 Dec 2006 04:34:37 +0000 (20:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:28 +0000 (08:39 -0800)
commita9b6f562f14dc28fb4b2415f0f275cede0abe9b5
tree8d83009585877bf4c5f263690468d35105058822
parenta6d70980602e6f1869ebcdcbfaf55a0a5941583e
[PATCH] swsusp: Untangle thaw_processes

Move the loop from thaw_processes() to a separate function and call it
independently for kernel threads and user space processes so that the order
of thawing tasks is clearly visible.

Drop thaw_kernel_threads() which is never used.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Nigel Cunningham <nigel@suspend2.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/freezer.h
kernel/power/process.c