aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 167e1e3ad7c6..ca0b3488c4a9 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1037,6 +1037,8 @@ NORET_TYPE void do_exit(long code)
1037 schedule(); 1037 schedule();
1038 } 1038 }
1039 1039
1040 exit_irq_thread();
1041
1040 exit_signals(tsk); /* sets PF_EXITING */ 1042 exit_signals(tsk); /* sets PF_EXITING */
1041 /* 1043 /*
1042 * tsk->flags are checked in the futex code to protect against 1044 * tsk->flags are checked in the futex code to protect against