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 4a280856acd2..3d759c98fb11 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -957,6 +957,7 @@ fastcall NORET_TYPE void do_exit(long code) | |||
957 | preempt_disable(); | 957 | preempt_disable(); |
958 | BUG_ON(tsk->flags & PF_DEAD); | 958 | BUG_ON(tsk->flags & PF_DEAD); |
959 | tsk->flags |= PF_DEAD; | 959 | tsk->flags |= PF_DEAD; |
960 | tsk->state = EXIT_DEAD; | ||
960 | 961 | ||
961 | schedule(); | 962 | schedule(); |
962 | BUG(); | 963 | BUG(); |