diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index d7815f570882..8f3bf53a5b4d 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -947,7 +947,7 @@ fastcall NORET_TYPE void do_exit(long code) | |||
947 | schedule(); | 947 | schedule(); |
948 | } | 948 | } |
949 | 949 | ||
950 | tsk->flags |= PF_EXITING; | 950 | exit_signals(tsk); /* sets PF_EXITING */ |
951 | /* | 951 | /* |
952 | * tsk->flags are checked in the futex code to protect against | 952 | * tsk->flags are checked in the futex code to protect against |
953 | * an exiting task cleaning up the robust pi futexes. | 953 | * an exiting task cleaning up the robust pi futexes. |