diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index f9275e2c7c2c..50d2e93c36ea 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -1094,11 +1094,11 @@ static int wait_task_zombie(struct wait_opts *wo, struct task_struct *p) | |||
1094 | * as other threads in the parent group can be right | 1094 | * as other threads in the parent group can be right |
1095 | * here reaping other children at the same time. | 1095 | * here reaping other children at the same time. |
1096 | * | 1096 | * |
1097 | * We use thread_group_times() to get times for the thread | 1097 | * We use thread_group_cputime_adjusted() to get times for the thread |
1098 | * group, which consolidates times for all threads in the | 1098 | * group, which consolidates times for all threads in the |
1099 | * group including the group leader. | 1099 | * group including the group leader. |
1100 | */ | 1100 | */ |
1101 | thread_group_times(p, &tgutime, &tgstime); | 1101 | thread_group_cputime_adjusted(p, &tgutime, &tgstime); |
1102 | spin_lock_irq(&p->real_parent->sighand->siglock); | 1102 | spin_lock_irq(&p->real_parent->sighand->siglock); |
1103 | psig = p->real_parent->signal; | 1103 | psig = p->real_parent->signal; |
1104 | sig = p->signal; | 1104 | sig = p->signal; |