Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276545
b: refs/heads/master
c: 2a95ea6
h: refs/heads/master
i:
  276543: c946ee4
v: v3
  • Loading branch information
Michal Hocko authored and Linus Torvalds committed Dec 9, 2011
1 parent f6aa6e0 commit 018a6c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1368edf0647ac112d8cfa6ce47257dc950c50f5c
refs/heads/master: 2a95ea6c0d129b4568fb64e1deda16ceb20e6636
4 changes: 2 additions & 2 deletions trunk/fs/proc/stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static cputime64_t get_idle_time(int cpu)
idle = kstat_cpu(cpu).cpustat.idle;
idle = cputime64_add(idle, arch_idle_time(cpu));
} else
idle = usecs_to_cputime(idle_time);
idle = nsecs_to_jiffies64(1000 * idle_time);

return idle;
}
Expand All @@ -46,7 +46,7 @@ static cputime64_t get_iowait_time(int cpu)
/* !NO_HZ so we can rely on cpustat.iowait */
iowait = kstat_cpu(cpu).cpustat.iowait;
else
iowait = usecs_to_cputime(iowait_time);
iowait = nsecs_to_jiffies64(1000 * iowait_time);

return iowait;
}
Expand Down

0 comments on commit 018a6c8

Please sign in to comment.