Skip to content

Commit 4db6427

Browse files
aeglbp3tk0v
authored andcommitted
x86/cpu: Switch to new Intel CPU model defines
New CPU #defines encode vendor and family as well as model. [ dhansen: vertically align macro and remove stray subject / ] Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Dave Hansen <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Link: https://lore.kernel.org/all/20240424181516.41887-1-tony.luck%40intel.com
1 parent db99675 commit 4db6427

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arch/x86/kernel/smpboot.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,9 +438,9 @@ static bool match_pkg(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o)
438438
*/
439439

440440
static const struct x86_cpu_id intel_cod_cpu[] = {
441-
X86_MATCH_INTEL_FAM6_MODEL(HASWELL_X, 0), /* COD */
442-
X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_X, 0), /* COD */
443-
X86_MATCH_INTEL_FAM6_MODEL(ANY, 1), /* SNC */
441+
X86_MATCH_VFM(INTEL_HASWELL_X, 0), /* COD */
442+
X86_MATCH_VFM(INTEL_BROADWELL_X, 0), /* COD */
443+
X86_MATCH_VFM(INTEL_ANY, 1), /* SNC */
444444
{}
445445
};
446446

0 commit comments

Comments
 (0)