x86: fix bootup crash in native_read_tsc()
authorIngo Molnar <mingo@elte.hu>
Fri, 1 Feb 2008 22:45:18 +0000 (23:45 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 1 Feb 2008 23:00:26 +0000 (10:00 +1100)
commitaa6299926950c8dfe2fea638276cad6def092bc9
tree5fe27952926b60302ea43212e8ed6640c444812d
parentf3191248bf1bf6627c04c5624904df45e0a979ed
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>
arch/x86/kernel/cpu/amd.c