aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 15:07:03 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-19 15:07:03 -0400
commitec2626815bf9a9922e49820b03e670e833f3ca3c (patch)
treec1d6ff9559a62c5636adaae7a6c7cac397762f42 /fs/proc/array.c
parent0a4908e19fd016d60403fc76cf38b2d08d21e2d2 (diff)
parentf9e26291be31cb494c1845e356daba84b39ab059 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched
* git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched: sched: fix guest time accounting going faster than user time accounting
Diffstat (limited to 'fs/proc/array.c')
-rw-r--r--fs/proc/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 7a34571203bc..63c95afb561f 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -456,7 +456,7 @@ static int do_task_stat(struct task_struct *task, char *buffer, int whole)
456 maj_flt += sig->maj_flt; 456 maj_flt += sig->maj_flt;
457 utime = cputime_add(utime, sig->utime); 457 utime = cputime_add(utime, sig->utime);
458 stime = cputime_add(stime, sig->stime); 458 stime = cputime_add(stime, sig->stime);
459 gtime += cputime_add(gtime, sig->gtime); 459 gtime = cputime_add(gtime, sig->gtime);
460 } 460 }
461 461
462 sid = task_session_nr_ns(task, ns); 462 sid = task_session_nr_ns(task, ns);