diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-03-20 16:13:55 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-03-24 23:32:28 +0300 |
commit | 298426211c4b36e1e2475deb941f8fa59d6686c6 (patch) | |
tree | e992d97630d368913e1acbc380ab243d944b5ba0 /drivers/edac/skx_base.c | |
parent | b11d77fa300d98704519238a2161bc6352c28245 (diff) | |
download | linux-298426211c4b36e1e2475deb941f8fa59d6686c6.tar.xz |
EDAC: Convert to new X86 CPU match macros
The new macro set has a consistent namespace and uses C99 initializers
instead of the grufty C89 ones.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20200320131509.673579000@linutronix.de
Diffstat (limited to 'drivers/edac/skx_base.c')
-rw-r--r-- | drivers/edac/skx_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/skx_base.c b/drivers/edac/skx_base.c index 83545b4facb7..46a3a3440f5e 100644 --- a/drivers/edac/skx_base.c +++ b/drivers/edac/skx_base.c @@ -158,7 +158,7 @@ fail: } static const struct x86_cpu_id skx_cpuids[] = { - { X86_VENDOR_INTEL, 6, INTEL_FAM6_SKYLAKE_X, 0, 0 }, + X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_X, NULL), { } }; MODULE_DEVICE_TABLE(x86cpu, skx_cpuids); |