]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
EDAC/skx: Switch to new Intel CPU model defines
authorTony Luck <tony.luck@intel.com>
Mon, 20 May 2024 22:46:09 +0000 (15:46 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 28 May 2024 23:04:44 +0000 (16:04 -0700)
New CPU #defines encode vendor and family as well as model.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20240520224620.9480-39-tony.luck@intel.com
drivers/edac/skx_base.c

index 0a862336a7ce86b435e0e1838124e958dfb63cb6..af3fa807acdba9899107a3191fde11c6926aa3c1 100644 (file)
@@ -164,7 +164,7 @@ static struct res_config skx_cfg = {
 };
 
 static const struct x86_cpu_id skx_cpuids[] = {
-       X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(SKYLAKE_X, X86_STEPPINGS(0x0, 0xf), &skx_cfg),
+       X86_MATCH_VFM_STEPPINGS(INTEL_SKYLAKE_X, X86_STEPPINGS(0x0, 0xf), &skx_cfg),
        { }
 };
 MODULE_DEVICE_TABLE(x86cpu, skx_cpuids);