aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 346616c0092c..618f7ee56003 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1186,11 +1186,11 @@ static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p)
1186 * as other threads in the parent group can be right 1186 * as other threads in the parent group can be right
1187 * here reaping other children at the same time. 1187 * here reaping other children at the same time.
1188 * 1188 *
1189 * We use thread_group_times() to get times for the thread 1189 * We use thread_group_cputime_adjusted() to get times for the thread
1190 * group, which consolidates times for all threads in the 1190 * group, which consolidates times for all threads in the
1191 * group including the group leader. 1191 * group including the group leader.
1192 */ 1192 */
1193 thread_group_times(p, &tgutime, &tgstime); 1193 thread_group_cputime_adjusted(p, &tgutime, &tgstime);
1194 spin_lock_irq(&p->real_parent->sighand->siglock); 1194 spin_lock_irq(&p->real_parent->sighand->siglock);
1195 psig = p->real_parent->signal; 1195 psig = p->real_parent->signal;
1196 sig = p->signal; 1196 sig = p->signal;