Commit 02edeb58 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: mark SMP on UML/x86_64 as broken

Noticed by Al Viro <viro@parcelfarce.linux.theplanet.co.uk> - SMP on x86_64 is
fundamentally broken due to UML's reuse of the host arch's percpu stuff.  This
is OK on x86, but the x86_64 pda stuff just won't work for UML.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 13abf813
...@@ -196,7 +196,7 @@ config HOST_2G_2G ...@@ -196,7 +196,7 @@ config HOST_2G_2G
config SMP config SMP
bool "Symmetric multi-processing support (EXPERIMENTAL)" bool "Symmetric multi-processing support (EXPERIMENTAL)"
default n default n
depends on MODE_TT && EXPERIMENTAL depends on (MODE_TT && EXPERIMENTAL && !SMP_BROKEN) || (BROKEN && SMP_BROKEN)
help help
This option enables UML SMP support. This option enables UML SMP support.
It is NOT related to having a real SMP box. Not directly, at least. It is NOT related to having a real SMP box. Not directly, at least.
......
...@@ -37,3 +37,7 @@ config ARCH_HAS_SC_SIGNALS ...@@ -37,3 +37,7 @@ config ARCH_HAS_SC_SIGNALS
config ARCH_REUSE_HOST_VSYSCALL_AREA config ARCH_REUSE_HOST_VSYSCALL_AREA
bool bool
default n default n
config SMP_BROKEN
bool
default y
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment