diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2012-10-24 22:16:34 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-15 00:33:07 +0100 |
commit | 8636fd280e970696be62c8495a5aacb5f3b6237d (patch) | |
tree | 654bc5707fde353a8fdbdf6121d4c54cadd51440 /drivers/cpufreq/Kconfig.arm | |
parent | cpufreq: Improve debug prints (diff) | |
download | linux-8636fd280e970696be62c8495a5aacb5f3b6237d.tar.xz linux-8636fd280e970696be62c8495a5aacb5f3b6237d.zip |
cpufreq: fix jiffies/cputime mixup in conservative/ondemand governors
The function get_cpu_idle_time_jiffy in both the conservative and
ondemand governors use jiffies_to_usecs to convert a cputime value to
usecs which gives the wrong value on architectures where cputime and
jiffies use different units. Only matters if NO_HZ is disabled, since
otherwise get_cpu_idle_time_us should already return a valid value, and
get_cpu_idle_time_jiffy isn't actually called.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/Kconfig.arm')
0 files changed, 0 insertions, 0 deletions