diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index fbb5d94c8bbc..4741376c8dec 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -926,6 +926,8 @@ NORET_TYPE void do_exit(long code) | |||
926 | schedule(); | 926 | schedule(); |
927 | } | 927 | } |
928 | 928 | ||
929 | exit_irq_thread(); | ||
930 | |||
929 | exit_signals(tsk); /* sets PF_EXITING */ | 931 | exit_signals(tsk); /* sets PF_EXITING */ |
930 | /* | 932 | /* |
931 | * tsk->flags are checked in the futex code to protect against | 933 | * tsk->flags are checked in the futex code to protect against |