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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 Jan 2010 18:19:16 +0000 (10:19 -0800)
commitb7e5f77916291b3c80fdf34dd2a649d8d10138e8
tree1a4cb46316e4f1617af1238e7ddab83d9ebed3ab
parent24488113f0ee3d3fdb64734cb2364cbe2ca1ba33
Revert "x86: Side-step lguest problem by only building cmpxchg8b_emu for pre-Pentium"

commit db677ffa5f5a4f15b9dad4d132b3477b80766d82 upstream.

This reverts commit ae1b22f6e46c03cede7cea234d0bf2253b4261cf.

As Linus said in 982d007a6ee: "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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/Kconfig.cpu