]> err.no Git - linux-2.6/commit
freezer: task->exit_state should be treated as bolean
authorOleg Nesterov <oleg@tv-sign.ru>
Tue, 8 May 2007 07:24:01 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:14:58 +0000 (11:14 -0700)
commit1065d130dddc3241706c50a01ced7b03bcb657be
tree86565a17abe3c126c13708207bdca671fbc5bc77
parentfca3b747795ae24f9667b6c9a69975f9eb98a2c0
freezer: task->exit_state should be treated as bolean

Except for BUG_ON() checks, we should not use EXIT_XXXX defines outside of
exit/wait paths.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/power/process.c