From: Stratos Karafotis Date: Fri, 18 Jul 2014 15:37:27 +0000 (-0700) Subject: cpufreq: intel_pstate: Remove core_pct rounding X-Git-Tag: cleanup-for-v3.18~101^2~5^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78e2708691e9289f97750eb71aca31b5a2973d94;p=pandora-kernel.git 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 Signed-off-by: Dirk Brandewie Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed