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-17 14:31:07 -05:00
2007-10-17 08:42:47 -07:00
2007-10-19 11:53:37 -07:00
2007-10-19 11:53:37 -07:00
2007-10-19 11:53:37 -07:00
2007-10-15 17:56:36 -07:00
2007-05-08 11:14:59 -07:00
2007-10-17 08:43:02 -07:00
2007-10-18 14:37:31 -07:00
2007-10-16 09:43:07 -07:00
2007-10-17 18:49:59 -04:00
2007-10-17 08:43:02 -07:00
2007-10-18 14:37:31 -07:00
2007-10-19 11:53:42 -07:00
2007-10-17 08:43:01 -07:00
2007-10-18 14:37:20 -07:00
2007-10-17 08:42:54 -07:00
2007-10-17 08:42:45 -07:00
2007-07-19 10:04:45 -07:00
2007-07-29 17:09:29 -07:00
2007-10-16 09:42:53 -07:00
2007-10-17 08:42:56 -07:00
2007-05-18 13:09:34 -07:00
2007-05-21 09:18:19 -07:00
2007-05-08 11:15:01 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:02 -07:00
2007-05-08 11:15:09 -07:00
2007-07-16 09:05:48 -07:00
2007-10-16 09:42:54 -07:00
2007-07-19 10:04:45 -07:00
2007-10-17 08:43:07 -07:00
2007-10-15 17:00:19 +02:00
2006-10-01 00:39:19 -07:00
2007-07-27 15:40:13 -07:00
2007-10-19 11:53:41 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:43:07 -07:00
2007-10-17 08:42:52 -07:00