diff options
| author | Dave Hansen <dave.hansen@linux.intel.com> | 2024-12-13 12:50:28 -0800 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2024-12-18 06:17:24 -0800 |
| commit | 497f70284695bbb9b875e182554ef3f18b4a56e2 (patch) | |
| tree | 09f21fb2fc44bd3cb41b9970952f6dfff9f136de /arch/x86/kernel/process.c | |
| parent | x86/cpu: Remove 'x86_cpu_desc' infrastructure (diff) | |
| download | linux-497f70284695bbb9b875e182554ef3f18b4a56e2.tar.gz linux-497f70284695bbb9b875e182554ef3f18b4a56e2.zip | |
x86/cpu: Move MWAIT leaf definition to common header
Begin constructing a common place to keep all CPUID leaf definitions.
Move CPUID_MWAIT_LEAF to the CPUID header and include it where
needed.
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/all/20241213205028.EE94D02A%40davehans-spike.ostc.intel.com
Diffstat (limited to 'arch/x86/kernel/process.c')
| -rw-r--r-- | arch/x86/kernel/process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 58ead05a1c29..d40fc4965c14 100644 --- a/arch/x86/kernel/process.c +++ b/arch/x86/kernel/process.c @@ -30,6 +30,7 @@ #include <linux/hw_breakpoint.h> #include <linux/entry-common.h> #include <asm/cpu.h> +#include <asm/cpuid.h> #include <asm/apic.h> #include <linux/uaccess.h> #include <asm/mwait.h> |
