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/smpboot.c | |
| parent | x86/fpu: Remove unnecessary CPUID level check (diff) | |
| download | linux-e5d3a57891ba500503df075b99b78d6e61f2694e.tar.gz linux-e5d3a57891ba500503df075b99b78d6e61f2694e.zip | |
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/smpboot.c')
| -rw-r--r-- | arch/x86/kernel/smpboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 116c46f9ecbb..0e3f9bad0395 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1293,7 +1293,7 @@ static inline void mwait_play_dead(void) if (!this_cpu_has(X86_FEATURE_CLFLUSH)) return; - eax = CPUID_MWAIT_LEAF; + eax = CPUID_LEAF_MWAIT; ecx = 0; native_cpuid(&eax, &ebx, &ecx, &edx); |
