[PATCH] suspend to disk fails if gdb is suspended with a traced child
authorRafael J. Wysocki <rjw@sisk.pl>
Thu, 7 Dec 2006 04:34:34 +0000 (20:34 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:28 +0000 (08:39 -0800)
commit3eb1b3a40722cbb46631db373af66d13d1e7ac81
tree34b2d04387845a7074c5665269acc86b03812f0d
parent0d3a9abe8ae055e1052295698bcd0722c92eff47
[PATCH] suspend to disk fails if gdb is suspended with a traced child

Fix http://bugzilla.kernel.org/show_bug.cgi?id=7534

Fix the freezing of processes so that it won't fail if there is a traced
process the parent of which has been stopped.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: maurice barnum <pixi+kbug@burble.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/power/process.c