From: Dirk Brandewie Date: Thu, 29 May 2014 16:32:23 +0000 (-0700) Subject: intel_pstate: Correct rounding in busy calculation X-Git-Tag: omap-for-v3.16/fixes-against-rc1~103^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0fe3cd7e12d8290c82284b5c8aee723cbd0371a;p=pandora-kernel.git 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 Cc: 3.14+ # 3.14+ Signed-off-by: Dirk Brandewie Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed