OpenCloudOS-Kernel/tools/power
John B. Wyatt IV 4589bb97e4 pm:cpupower: Add missing powercap_set_enabled() stub function
[ Upstream commit 4b80294fb53845dc5c98cca0c989da09150f2ca9 ]

There was a symbol listed in the powercap.h file that was not implemented.
Implement it with a stub return of 0.

Programs like SWIG require that functions that are defined in the
headers be implemented.

Fixes: c2294c1496 ("cpupower: Introduce powercap intel-rapl library and powercap-info command")
Suggested-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: John B. Wyatt IV <jwyatt@redhat.com>
Signed-off-by: John B. Wyatt IV <sageofredondo@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-04 16:28:55 +02:00
..
acpi ACPICA: Update all copyrights/signons to 2023 2023-04-06 20:29:11 +02:00
cpupower pm:cpupower: Add missing powercap_set_enabled() stub function 2024-10-04 16:28:55 +02:00
pm-graph PM: tools: Fix sleepgraph syntax error 2023-12-03 07:33:04 +01:00
x86 tools/power turbostat: Remember global max_die_id 2024-07-11 12:49:10 +02:00