]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "x86: Side-step lguest problem by only building cmpxchg8b_emu for pre-Pentium"
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 5 Jan 2010 02:18:49 +0000 (12:48 +1030)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 5 Jan 2010 03:35:49 +0000 (19:35 -0800)
commitfc12ac90319152c7b25d9eeec035b1e7491800c4
treec4d18f9be58e37ac1eae01f5821add30e9ce1c2c
parentbaf9d7f37465bc2252e8f1cac7fcc368f4984c0a
Revert "x86: Side-step lguest problem by only building cmpxchg8b_emu for pre-Pentium"

This reverts commit 75eda5bcd238b96b7c63200bbfa7cbe06f84d2f6.

As Linus said in 24e1723366a: "There was something really messy about
cmpxchg8b and clone CPU's, so if you enable it on other CPUs later, do it
carefully."

This breaks lguest for those configs, but we can fix that by emulating
if we have to.

Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=14884
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
LKML-Reference: <201001051248.49700.rusty@rustcorp.com.au>
Cc: stable@kernel.org
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/Kconfig.cpu