commit | 1d7f81197e575c00bf5dfa988f4c7a12c45993b2 | [log] [tgz] |
---|---|---|
author | Chris Redpath <chris.redpath@arm.com> | Mon Jun 17 18:36:56 2013 +0100 |
committer | Jon Medhurst <tixy@linaro.org> | Wed Jul 17 17:21:54 2013 +0100 |
tree | d11bf99bf12a08eb144963a4c2d7cb0fd7bdac17 | |
parent | cbb39a8dbf53df05b7d9e98e6c0f6f375ed811b5 [diff] |
cpufreq: interactive governor drops bits in time calculation Keep time calculation in 64-bit throughout. If we have long times between idle calculations this can result in deltas > 32 bits which causes incorrect load percentage calculations and selecting the wrong frequencies if we truncate here. Signed-off-by: Chris Redpath <chris.redpath@arm.com>