diff options
author | Viresh Kumar <[email protected]> | 2017-03-02 14:03:21 +0530 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-03-05 23:58:48 +0100 |
commit | 655cb1ebff4b7918fc560502c3297af2d3c7d114 (patch) | |
tree | 995b6b885949ca75159c9ac55be9f06da74bb2af /scripts/gcc-plugins/sancov_plugin.c | |
parent | 6c4f0fa643cb9e775dcc976e3db00d649468ff1d (diff) |
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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions