summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2006-01-08 01:03:14 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 20:13:55 -0800
commit485a6435abc3897934ce0dc530e31db93e9296a6 (patch)
tree9f934146083a4b34eedc9edec37a2ca4783419f0 /kernel
parentbb6f6dbaa48c53525a7a4f9d4df719c3b0b582af (diff)
downloadop-kernel-dev-485a6435abc3897934ce0dc530e31db93e9296a6.zip
op-kernel-dev-485a6435abc3897934ce0dc530e31db93e9296a6.tar.gz
[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 c73a7eb..a80824f 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -925,7 +925,6 @@ do_group_exit(int exit_code)
/* Another thread got here before we took the lock. */
exit_code = sig->group_exit_code;
else {
- sig->flags = SIGNAL_GROUP_EXIT;
sig->group_exit_code = exit_code;
zap_other_threads(current);
}
OpenPOWER on IntegriCloud