diff options
author | Stratos Karafotis <stratosk@semaphore.gr> | 2014-07-18 08:37:27 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-07-21 13:43:19 +0200 |
commit | 78e2708691e9289f97750eb71aca31b5a2973d94 (patch) | |
tree | 62857f16ff381de7fcf982a7b4d8c1bd69834f8c /drivers/cpufreq/imx6q-cpufreq.c | |
parent | 4b707c893d0937be9c7be437950a312fbaf47601 (diff) |
cpufreq: intel_pstate: Remove core_pct rounding
The specific rounding adds conditionally only 1/256 to fractional
part of core_pct.
We can safely remove it without any noticeable impact in
calculations.
Use div64_u64 instead of div_u64 to avoid possible overflow of
sample->mperf as divisor
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/imx6q-cpufreq.c')
0 files changed, 0 insertions, 0 deletions