diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 43077732619b..4897977a1f4b 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -825,14 +825,6 @@ fastcall NORET_TYPE void do_exit(long code) | |||
825 | 825 | ||
826 | tsk->flags |= PF_EXITING; | 826 | tsk->flags |= PF_EXITING; |
827 | 827 | ||
828 | /* | ||
829 | * Make sure we don't try to process any timer firings | ||
830 | * while we are already exiting. | ||
831 | */ | ||
832 | tsk->it_virt_expires = cputime_zero; | ||
833 | tsk->it_prof_expires = cputime_zero; | ||
834 | tsk->it_sched_expires = 0; | ||
835 | |||
836 | if (unlikely(in_atomic())) | 828 | if (unlikely(in_atomic())) |
837 | printk(KERN_INFO "note: %s[%d] exited with preempt_count %d\n", | 829 | printk(KERN_INFO "note: %s[%d] exited with preempt_count %d\n", |
838 | current->comm, current->pid, | 830 | current->comm, current->pid, |
@@ -843,6 +835,7 @@ fastcall NORET_TYPE void do_exit(long code) | |||
843 | group_dead = atomic_dec_and_test(&tsk->signal->live); | 835 | group_dead = atomic_dec_and_test(&tsk->signal->live); |
844 | if (group_dead) { | 836 | if (group_dead) { |
845 | del_timer_sync(&tsk->signal->real_timer); | 837 | del_timer_sync(&tsk->signal->real_timer); |
838 | exit_itimers(tsk->signal); | ||
846 | acct_process(code); | 839 | acct_process(code); |
847 | } | 840 | } |
848 | exit_mm(tsk); | 841 | exit_mm(tsk); |