From: Eugene Teo Date: Fri, 19 Oct 2007 06:40:38 +0000 (-0700) Subject: Fix tsk->exit_state usage X-Git-Tag: v2.6.24-rc1~182 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=270f722d4d5f94b02fd48eed47e57917ab00a858;p=pandora-kernel.git 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 Cc: Roland McGrath Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed