]> 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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Jan 2010 00:01:35 +0000 (16:01 -0800)
commitbc10afd397969ae3c7771f009bbfcec2d0452048
tree1379d67ad09bb932a8afa5c85eccacba6d8ca19c
parent07539cad442d1942e2768c7592f7677202bbeab4
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>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/Kconfig.cpu