[PATCH 2/6] x86/cpu: Add missing #include
From: Dave Hansen
Date: Mon Jan 19 2026 - 14:50:53 EST
From: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
The intel-family.h header uses Vendor/Family/Model macros but it does not
#include the header where they are defined. It must be depending on implicit
includes.
Include the required header explicitly.
Signed-off-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: Tony Luck <tony.luck@xxxxxxxxx>
Cc: Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx>
Cc: "Peter Zijlstra (Intel)" <peterz@xxxxxxxxxxxxx>
Cc: x86@xxxxxxxxxx
Cc: Jon Kohler <jon@xxxxxxxxxxx>
---
b/arch/x86/include/asm/intel-family.h | 2 ++
1 file changed, 2 insertions(+)
diff -puN arch/x86/include/asm/intel-family.h~fam-missing-include arch/x86/include/asm/intel-family.h
--- a/arch/x86/include/asm/intel-family.h~fam-missing-include 2026-01-19 11:38:08.254872476 -0800
+++ b/arch/x86/include/asm/intel-family.h 2026-01-19 11:38:08.257872590 -0800
@@ -2,6 +2,8 @@
#ifndef _ASM_X86_INTEL_FAMILY_H
#define _ASM_X86_INTEL_FAMILY_H
+#include <asm/vfm.h>
+
/*
* "Big Core" Processors (Branded as Core, Xeon, etc...)
*
_