]> 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)
commit3ab0762d1edfda6ccbc08f636acab42c103c299f
treeaabb17ce9940da3a8644db36945e2b16b889a892
parentb0e387c3ec0170b429f15c53b6183fe1c691403b
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: 6650cdd9a8cc ("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