diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 413c81ec858e..879ed6e1c883 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -877,6 +877,7 @@ static void exit_notify(struct task_struct *tsk, int group_dead) | |||
877 | state = EXIT_DEAD; | 877 | state = EXIT_DEAD; |
878 | tsk->exit_state = state; | 878 | tsk->exit_state = state; |
879 | 879 | ||
880 | /* mt-exec, de_thread() is waiting for us */ | ||
880 | if (thread_group_leader(tsk) && | 881 | if (thread_group_leader(tsk) && |
881 | tsk->signal->notify_count < 0 && | 882 | tsk->signal->notify_count < 0 && |
882 | tsk->signal->group_exit_task) | 883 | tsk->signal->group_exit_task) |