diff options
author | 2024-06-19 23:40:17 +0800 | |
---|---|---|
committer | 2024-06-20 21:52:05 -0500 | |
commit | c9fdaba8369ea6ca01728ed9c25c6ca1b90d3355 (patch) | |
tree | ed1d7df3aad7bbb0472ebe7f0473ca99b2535902 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Documentation: PM: amd-pstate: add guided mode to the Operation mode (diff) | |
download | wireguard-linux-c9fdaba8369ea6ca01728ed9c25c6ca1b90d3355.tar.xz wireguard-linux-c9fdaba8369ea6ca01728ed9c25c6ca1b90d3355.zip |
cpufreq: amd-pstate: switch boot_cpu_has() to cpu_feature_enabled()
replace the usage of the deprecated boot_cpu_has() function with
the modern cpu_feature_enabled() function. The switch to cpu_feature_enabled()
ensures compatibility with the latest CPU feature detection mechanisms and
improves code maintainability.
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
Suggested-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/f1567593ac5e1d38343067e9c681a8c4b0707038.1718811234.git.perry.yuan@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions