Updated to 2.6.32.27
/fs/proc/array.c
blob:77385c8449844c398b9e2f134780f5b32891d0a0 -> blob:25fbc2019ec52e7a1177b158d6ddcae6adcaf4ac
--- fs/proc/array.c
+++ fs/proc/array.c
@@ -405,7 +405,6 @@ static int do_task_stat(struct seq_file
/* add up live thread stats at the group level */
if (whole) {
- struct task_cputime cputime;
struct task_struct *t = task;
do {
min_flt += t->min_flt;
@@ -416,9 +415,7 @@ static int do_task_stat(struct seq_file
min_flt += sig->min_flt;
maj_flt += sig->maj_flt;
- thread_group_cputime(task, &cputime);
- utime = cputime.utime;
- stime = cputime.stime;
+ thread_group_times(task, &utime, &stime);
gtime = cputime_add(gtime, sig->gtime);
}