diff options
| author | Viresh Kumar <[email protected]> | 2017-03-02 08:33:21 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2017-03-05 22:58:48 +0000 |
| commit | 655cb1ebff4b7918fc560502c3297af2d3c7d114 (patch) | |
| tree | 995b6b885949ca75159c9ac55be9f06da74bb2af /scripts/gcc-plugins/sancov_plugin.c | |
| parent | cpufreq: schedutil: move cached_raw_freq to struct sugov_policy (diff) | |
| download | kernel-655cb1ebff4b7918fc560502c3297af2d3c7d114.tar.gz kernel-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 <[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
