summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDirk Brandewie <dirk.j.brandewie@intel.com>2014-05-29 09:32:23 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-06-02 12:44:59 +0200
commitf0fe3cd7e12d8290c82284b5c8aee723cbd0371a (patch)
tree8cb72c5039750da308ff05dab076a0c455e9bf15 /Makefile
parentadacdf3f2b8e65aa441613cf61c4f598e9042690 (diff)
downloadop-kernel-dev-f0fe3cd7e12d8290c82284b5c8aee723cbd0371a.zip
op-kernel-dev-f0fe3cd7e12d8290c82284b5c8aee723cbd0371a.tar.gz
intel_pstate: Correct rounding in busy calculation
Changing to fixed point math throughout the busy calculation in commit e66c1768 (Change busy calculation to use fixed point math.) Introduced some inaccuracies by rounding the busy value at two points in the calculation. This change removes roundings and moves the rounding to the output of the PID where the calculations are complete and the value returned as an integer. Fixes: e66c17683746 (intel_pstate: Change busy calculation to use fixed point math.) Reported-by: Doug Smythies <dsmythies@telus.net> Cc: 3.14+ <stable@vger.kernel.org> # 3.14+ Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud