]> git.baikalelectronics.ru Git - kernel.git/commit
intel_pstate: Use sample.core_avg_perf in get_avg_pstate()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 11 May 2016 17:10:42 +0000 (19:10 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 11 May 2016 20:58:37 +0000 (22:58 +0200)
commitc3b86721cf68657480c7659f06c50c8213f6a569
tree3bccdcdaa490245a0ca4b3a408fb75e7358f71de
parente64ec01d452d8fd7feb24fbb636bfae395dc95ec
intel_pstate: Use sample.core_avg_perf in get_avg_pstate()

Notice that get_avg_pstate() can use sample.core_avg_perf instead of
carrying the same division again, so make it do that.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c