diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 9852ed8c2988..67c1e9a4f812 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -845,7 +845,7 @@ static void exit_notify(struct task_struct *tsk) | |||
845 | fastcall NORET_TYPE void do_exit(long code) | 845 | fastcall NORET_TYPE void do_exit(long code) |
846 | { | 846 | { |
847 | struct task_struct *tsk = current; | 847 | struct task_struct *tsk = current; |
848 | struct taskstats *tidstats, *tgidstats; | 848 | struct taskstats *tidstats; |
849 | int group_dead; | 849 | int group_dead; |
850 | 850 | ||
851 | profile_task_exit(tsk); | 851 | profile_task_exit(tsk); |
@@ -884,7 +884,7 @@ fastcall NORET_TYPE void do_exit(long code) | |||
884 | current->comm, current->pid, | 884 | current->comm, current->pid, |
885 | preempt_count()); | 885 | preempt_count()); |
886 | 886 | ||
887 | taskstats_exit_alloc(&tidstats, &tgidstats); | 887 | taskstats_exit_alloc(&tidstats); |
888 | 888 | ||
889 | acct_update_integrals(tsk); | 889 | acct_update_integrals(tsk); |
890 | if (tsk->mm) { | 890 | if (tsk->mm) { |
@@ -905,8 +905,8 @@ fastcall NORET_TYPE void do_exit(long code) | |||
905 | #endif | 905 | #endif |
906 | if (unlikely(tsk->audit_context)) | 906 | if (unlikely(tsk->audit_context)) |
907 | audit_free(tsk); | 907 | audit_free(tsk); |
908 | taskstats_exit_send(tsk, tidstats, tgidstats); | 908 | taskstats_exit_send(tsk, tidstats, group_dead); |
909 | taskstats_exit_free(tidstats, tgidstats); | 909 | taskstats_exit_free(tidstats); |
910 | delayacct_tsk_exit(tsk); | 910 | delayacct_tsk_exit(tsk); |
911 | 911 | ||
912 | exit_mm(tsk); | 912 | exit_mm(tsk); |