]> git.baikalelectronics.ru Git - kernel.git/commit
x86/split_lock: Update to use X86_MATCH_INTEL_FAM6_MODEL()
authorTony Luck <tony.luck@intel.com>
Thu, 16 Apr 2020 20:57:52 +0000 (13:57 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 17 Apr 2020 10:14:12 +0000 (12:14 +0200)
commit8bb7e6d41a24157c400effde5e5ff8b9009d6efd
treeaabb17ce9940da3a8644db36945e2b16b889a892
parenta204b379192c687bb42703ed93d59d8714a36874
x86/split_lock: Update to use X86_MATCH_INTEL_FAM6_MODEL()

The SPLIT_LOCK_CPU() macro escaped the tree-wide sweep for old-style
initialization. Update to use X86_MATCH_INTEL_FAM6_MODEL().

Fixes: 40e993fbfb53 ("x86/split_lock: Enable split lock detection by kernel")
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200416205754.21177-2-tony.luck@intel.com
arch/x86/kernel/cpu/intel.c