diff options
author | 2017-03-02 14:03:21 +0530 | |
---|---|---|
committer | 2017-03-05 23:58:48 +0100 | |
commit | 655cb1ebff4b7918fc560502c3297af2d3c7d114 (patch) | |
tree | 995b6b885949ca75159c9ac55be9f06da74bb2af /scripts/gcc-plugins/sancov_plugin.c | |
parent | cpufreq: schedutil: move cached_raw_freq to struct sugov_policy (diff) | |
download | linux-dev-655cb1ebff4b7918fc560502c3297af2d3c7d114.tar.xz linux-dev-655cb1ebff4b7918fc560502c3297af2d3c7d114.zip |
cpufreq: schedutil: Pass sg_policy to get_next_freq()
get_next_freq() uses sg_cpu only to get sg_policy, which the callers of
get_next_freq() already have. Pass sg_policy instead of sg_cpu to
get_next_freq(), to make it more efficient.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions