summaryrefslogtreecommitdiffstats
path: root/arch/x86/events
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-07-30 12:56:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-30 12:56:26 -0700
commitb325e04ea21081439f0f3e7fe1117e883a9031d8 (patch)
treee5796e4e5e0e3bc5e987ab40888830dbbf258c8c /arch/x86/events
parent7f7d556496a025e5334d52df9e1ebe3674cda22a (diff)
parent08e237fa56a1d95c1372033bc29c4a2517b3c0fa (diff)
downloadlinux-stable-b325e04ea21081439f0f3e7fe1117e883a9031d8.tar.gz
linux-stable-b325e04ea21081439f0f3e7fe1117e883a9031d8.tar.bz2
linux-stable-b325e04ea21081439f0f3e7fe1117e883a9031d8.zip
Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 cpufeature updates from Thomas Gleixner: - a workaround for the MONITOR instruction erratum of Goldmont CPUs - small fixes and cleanups here and there * 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/cpu: Add workaround for MONITOR instruction erratum on Goldmont based CPUs x86/cpu: Rename "WESTMERE2" family to "NEHALEM_G" x86/amd_nb: Clean up init path x86/cpufeature: Add helper macro for mask check macros x86/cpufeature: Make sure DISABLED/REQUIRED macros are updated x86/cpufeature: Update cpufeaure macros
Diffstat (limited to 'arch/x86/events')
-rw-r--r--arch/x86/events/msr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/events/msr.c b/arch/x86/events/msr.c
index 50b3a056f96b..4bb3ec69e8ea 100644
--- a/arch/x86/events/msr.c
+++ b/arch/x86/events/msr.c
@@ -36,11 +36,11 @@ static bool test_intel(int idx)
switch (boot_cpu_data.x86_model) {
case INTEL_FAM6_NEHALEM:
+ case INTEL_FAM6_NEHALEM_G:
case INTEL_FAM6_NEHALEM_EP:
case INTEL_FAM6_NEHALEM_EX:
case INTEL_FAM6_WESTMERE:
- case INTEL_FAM6_WESTMERE2:
case INTEL_FAM6_WESTMERE_EP:
case INTEL_FAM6_WESTMERE_EX: