diff options
author | Perry Yuan <perry.yuan@amd.com> | 2024-06-19 23:40:17 +0800 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-06-20 21:52:05 -0500 |
commit | c9fdaba8369ea6ca01728ed9c25c6ca1b90d3355 (patch) | |
tree | ed1d7df3aad7bbb0472ebe7f0473ca99b2535902 /scripts/gdb/linux/modules.py | |
parent | 1d53f30b3aa6120ca91789254cb2dfff9ff8c533 (diff) |
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions