[PATCH] Fix task state testing properly in do_signal_stop()
commit5acbc5cb507e6c381b70093b1081854708e82b16
authorRoland McGrath <roland@redhat.com>
Thu, 29 Sep 2005 21:54:42 +0000 (29 14:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 29 Sep 2005 22:20:47 +0000 (29 15:20 -0700)
tree504bf5b1a1079fedd424d130589a336745f803e9
parent4a8342d233a39ee582e9f7260e12d2f5fd194a05
[PATCH] Fix task state testing properly in do_signal_stop()

Any tests using < TASK_STOPPED or the like are left over from the time
when the TASK_ZOMBIE and TASK_DEAD bits were in the same word, and it
served to check for "stopped or dead".  I think this one in
do_signal_stop is the only such case.  It has been buggy ever since
exit_state was separated, and isn't testing the exit_state value.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/signal.c