x86: fix bootup crash in native_read_tsc()

fix bootup crash in native_read_tsc() that was reported on an Athlon-XP
and bisected. The correct feature boundary for X86_FEATURE_MFENCE_RDTSC
is not XMM but XMM2.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Ingo Molnar and committed by Linus Torvalds aa629992 f3191248

+1 -1
+1 -1
arch/x86/kernel/cpu/amd.c
··· 304 304 if (c->x86 < 6) 305 305 clear_bit(X86_FEATURE_MCE, c->x86_capability); 306 306 307 - if (cpu_has_xmm) 307 + if (cpu_has_xmm2) 308 308 set_bit(X86_FEATURE_MFENCE_RDTSC, c->x86_capability); 309 309 } 310 310