diff options
author | Dave Hansen <dave.hansen@linux.intel.com> | 2024-12-13 12:50:40 -0800 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2024-12-18 06:17:46 -0800 |
commit | e5d3a57891ba500503df075b99b78d6e61f2694e (patch) | |
tree | 74c264c981cc4e8a6b937e8708d0dee9524b869b /arch/x86/kernel/process.c | |
parent | 588e148d8babeb2fd863fb152b80548e18971caf (diff) |
x86/cpu: Make all all CPUID leaf names consistent
The leaf names are not consistent. Give them all a CPUID_LEAF_ prefix
for consistency and vertical alignment.
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Acked-by: Dave Jiang <dave.jiang@intel.com> # for ioatdma bits
Link: https://lore.kernel.org/all/20241213205040.7B0C3241%40davehans-spike.ostc.intel.com
Diffstat (limited to 'arch/x86/kernel/process.c')
-rw-r--r-- | arch/x86/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index d40fc4965c143..69f786791f1a3 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -878,7 +878,7 @@ static __init bool prefer_mwait_c1_over_halt(void) if (boot_cpu_has_bug(X86_BUG_MONITOR) || boot_cpu_has_bug(X86_BUG_AMD_APIC_C1E)) return false; - cpuid(CPUID_MWAIT_LEAF, &eax, &ebx, &ecx, &edx); + cpuid(CPUID_LEAF_MWAIT, &eax, &ebx, &ecx, &edx); /* * If MWAIT extensions are not available, it is safe to use MWAIT |