aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2006-01-08 04:03:14 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 23:13:55 -0500
commit485a6435abc3897934ce0dc530e31db93e9296a6 (patch)
tree9f934146083a4b34eedc9edec37a2ca4783419f0 /kernel
parentbb6f6dbaa48c53525a7a4f9d4df719c3b0b582af (diff)
[PATCH] little do_group_exit() cleanup
zap_other_threads() sets SIGNAL_GROUP_EXIT at the very start, do_group_exit() doesn't need to do it. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/exit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index c73a7eb26de3..a80824f6108b 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -925,7 +925,6 @@ do_group_exit(int exit_code)
925 /* Another thread got here before we took the lock. */ 925 /* Another thread got here before we took the lock. */
926 exit_code = sig->group_exit_code; 926 exit_code = sig->group_exit_code;
927 else { 927 else {
928 sig->flags = SIGNAL_GROUP_EXIT;
929 sig->group_exit_code = exit_code; 928 sig->group_exit_code = exit_code;
930 zap_other_threads(current); 929 zap_other_threads(current);
931 } 930 }