projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6307daa
)
Revert "x86: Side-step lguest problem by only building cmpxchg8b_emu for pre-Pentium"
author
Rusty Russell
<
[email protected]
>
Tue, 5 Jan 2010 02:18:49 +0000
(12:48 +1030)
committer
Linus Torvalds
<
[email protected]
>
Wed, 6 Jan 2010 00:01:35 +0000
(16:01 -0800)
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 <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86/Kconfig.cpu
patch
|
blob
|
history
diff --git
a/arch/x86/Kconfig.cpu
b/arch/x86/Kconfig.cpu
index 08e442bc3ab914951a4faa4c29c616f7018b0cf7..f20ddf84a89397c322d4f35657400d5590891832 100644
(file)
--- a/
arch/x86/Kconfig.cpu
+++ b/
arch/x86/Kconfig.cpu
@@
-396,7
+396,7
@@
config X86_TSC
config X86_CMPXCHG64
def_bool y
- depends on
!M386 && !M486
+ depends on
X86_PAE || X86_64 || MCORE2 || MPENTIUM4 || MPENTIUMM || MPENTIUMIII || MPENTIUMII || M686 || MATOM
# this should be set for all -march=.. options where the compiler
# generates cmov.