summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPhilippe Longepe <philippe.longepe@linux.intel.com>2016-03-06 08:34:06 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-03-11 00:04:58 +0100
commit8fa520af50817d5f30d293f507c937f561b3e6b9 (patch)
tree8b6bf612d99d0b3ab9b8da0dae478b7bddd63cfc /kernel
parent7349ec0470b62820ae226e30770b9d84a53ced9d (diff)
downloadlinux-8fa520af50817d5f30d293f507c937f561b3e6b9.tar.bz2
intel_pstate: Remove freq calculation from intel_pstate_calc_busy()
Use a helper function to compute the average pstate and call it only where it is needed (only when tracing or in intel_pstate_get). Signed-off-by: Philippe Longepe <philippe.longepe@linux.intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions