Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 126808
b: refs/heads/master
c: 8916ede
h: refs/heads/master
v: v3
  • Loading branch information
KOSAKI Motohiro authored and Ingo Molnar committed Jan 4, 2009
1 parent 67ad996 commit 83f4c10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0a582440ff546e2c6610d1acec325e91b4efd313
refs/heads/master: 8916edef5888c5d8fe283714416a9ca95b4c3431
2 changes: 2 additions & 0 deletions trunk/kernel/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1627,6 +1627,8 @@ static void k_getrusage(struct task_struct *p, int who, struct rusage *r)
utime = stime = cputime_zero;

if (who == RUSAGE_THREAD) {
utime = task_utime(current);
stime = task_stime(current);
accumulate_thread_rusage(p, r);
goto out;
}
Expand Down

0 comments on commit 83f4c10

Please sign in to comment.