linux/tools/power/cpupower/utils
Thomas Renninger 41ddb7e1f7 cpupower: Revert library ABI changes from commit ae2917093f
Commit ae2917093f ("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: ae2917093f ("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>
2020-01-17 15:21:42 -07:00
..
helpers cpupower: mperf_monitor: Update cpupower to use the RDPRU instruction 2019-11-05 17:22:56 -07:00
idle_monitor cpupower: mperf_monitor: Update cpupower to use the RDPRU instruction 2019-11-05 17:22:56 -07:00
builtin.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cpufreq-info.c cpupower: Revert library ABI changes from commit ae2917093f 2020-01-17 15:21:42 -07:00
cpufreq-set.c cpupower : frequency-set -r option misses the last cpu in related cpu list 2019-06-04 09:06:50 -06:00
cpuidle-info.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 166 2019-05-30 11:26:39 -07:00
cpuidle-set.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cpupower-info.c cpupower : Handle set and info subcommands correctly 2019-11-04 13:11:57 -07:00
cpupower-set.c cpupower : Handle set and info subcommands correctly 2019-11-04 13:11:57 -07:00
cpupower.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 166 2019-05-30 11:26:39 -07:00
version-gen.sh License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00