Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336706
b: refs/heads/master
c: 8636fd2
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Schwab authored and Rafael J. Wysocki committed Nov 14, 2012
1 parent 8c70dc3 commit 785f578
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: db7011516cbfc3d867b77721f77258d36cfbf705
refs/heads/master: 8636fd280e970696be62c8495a5aacb5f3b6237d
4 changes: 2 additions & 2 deletions trunk/drivers/cpufreq/cpufreq_governor.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ static inline u64 get_cpu_idle_time_jiffy(unsigned int cpu, u64 *wall)

idle_time = cur_wall_time - busy_time;
if (wall)
*wall = jiffies_to_usecs(cur_wall_time);
*wall = cputime_to_usecs(cur_wall_time);

return jiffies_to_usecs(idle_time);
return cputime_to_usecs(idle_time);
}

cputime64_t get_cpu_idle_time(unsigned int cpu, cputime64_t *wall)
Expand Down

0 comments on commit 785f578

Please sign in to comment.