Eugene Teo 270f722d4d Fix tsk->exit_state usage
tsk->exit_state can only be 0, EXIT_ZOMBIE, or EXIT_DEAD.  A non-zero test
is the same as tsk->exit_state & (EXIT_ZOMBIE | EXIT_DEAD), so just testing
tsk->exit_state is sufficient.

Signed-off-by: Eugene Teo <eugeneteo@kernel.sg>
Cc: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-19 11:53:42 -07:00
..
2007-10-18 14:37:24 -07:00
2007-10-18 14:37:25 -07:00
2007-07-16 09:05:47 -07:00
2007-10-18 14:37:25 -07:00
2007-10-19 11:53:36 -07:00
2007-10-19 11:53:41 -07:00
2007-10-18 14:37:24 -07:00
2007-10-19 11:53:42 -07:00
2007-10-18 14:37:26 -07:00
2006-12-07 08:39:36 -08:00
2007-07-16 09:05:50 -07:00
2007-10-16 09:43:10 -07:00
2006-12-04 02:00:22 -05:00
2007-10-18 14:37:25 -07:00
2007-10-11 22:11:12 +02:00
2007-10-19 11:53:34 -07:00
2007-10-18 14:37:25 -07:00
2007-10-19 11:53:41 -07:00
2007-10-18 14:37:24 -07:00
2007-07-16 09:05:49 -07:00
2007-07-16 09:05:49 -07:00
2007-10-17 16:55:11 +02:00
2007-10-15 17:00:13 +02:00
2007-10-19 11:53:42 -07:00
2007-07-16 09:05:50 -07:00
2007-10-19 11:53:36 -07:00
2007-10-18 14:37:24 -07:00
2007-05-09 08:57:56 +02:00