x86/boot: Switch to new Intel CPU model defines
New CPU #defines encode vendor and family as well as model but boot code doesn't have all the infrastructure to use them. Hard code the one CPU model number used here. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lore.kernel.org/all/20240520224620.9480-35-tony.luck%40intel.com
This commit is contained in:
parent
744866f5c0
commit
6fd5e8855e
@ -203,7 +203,7 @@ int check_knl_erratum(void)
|
||||
*/
|
||||
if (!is_intel() ||
|
||||
cpu.family != 6 ||
|
||||
cpu.model != INTEL_FAM6_XEON_PHI_KNL)
|
||||
cpu.model != 0x57 /*INTEL_XEON_PHI_KNL*/)
|
||||
return 0;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user