linux/tools/power
Thomas Renninger 4eed5d3bb1 cpupower: Revert library ABI changes from commit ae2917093f
commit 41ddb7e1f7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-11 04:35:24 -08:00
..
acpi ACPICA: iASL,acpi_dump: Improve y/n query 2019-08-21 00:00:36 +02:00
cpupower cpupower: Revert library ABI changes from commit ae2917093f 2020-02-11 04:35:24 -08:00
pm-graph pm-graph: make setVal unbuffered again for python2 and python3 2019-09-04 23:10:26 +02:00
x86 tools/power/x86/intel-speed-select: Ignore missing config level 2020-01-04 19:18:20 +01:00