diff options
author | Thomas Renninger <trenn@suse.de> | 2020-01-17 10:55:54 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-01-18 01:21:42 +0300 |
commit | 41ddb7e1f79693d904502ae9bea609837973eff8 (patch) | |
tree | 561afd4c09a56f9d252c63f62439e00b594d18d2 /tools/cgroup | |
parent | b3a987b0264d3ddbb24293ebff10eddfc472f653 (diff) | |
download | linux-41ddb7e1f79693d904502ae9bea609837973eff8.tar.xz |
cpupower: Revert library ABI changes from commit ae2917093fb60bdc1ed3e
Commit ae2917093fb6 ("tools/power/cpupower: Display boost frequency
separately") modified the library function:
struct cpufreq_available_frequencies
*cpufreq_get_available_frequencies(unsigned int cpu)
to
struct cpufreq_frequencies
*cpufreq_get_frequencies(const char *type, unsigned int cpu)
This patch recovers the old API and implements the new functionality
in a newly introduce method:
struct cpufreq_boost_frequencies
*cpufreq_get_available_frequencies(unsigned int cpu)
This one should get merged into stable kernels back to 5.0 when
the above had been introduced.
Fixes: ae2917093fb6 ("tools/power/cpupower: Display boost frequency separately")
Cc: stable@vger.kernel.org
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/cgroup')
0 files changed, 0 insertions, 0 deletions