提交 e5f0bdc7 编写于 作者: T Thadeu Lima de Souza Cascardo 提交者: Linus Torvalds

um: disable CMPXCHG_DOUBLE as it breaks UML build

Commit b789ef51 ("slub: Add cmpxchg_double_slab()") tests for
cmpxchg_double support in the SLUB code and it breaks UML builds with
SLUB.  Since UML does not support checking for CPU features, disable
CMPXCHG_DOUBLE just like CMPXCHG_LOCAL is disabled for UML.
Signed-off-by: NThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Reviewed-by: NChristoph Lameter <cl@linux.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Signed-off-by: NRichard Weinberger <richard@nod.at>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 0d6617c7
...@@ -10,6 +10,10 @@ config CMPXCHG_LOCAL ...@@ -10,6 +10,10 @@ config CMPXCHG_LOCAL
bool bool
default n default n
config CMPXCHG_DOUBLE
bool
default n
source "arch/x86/Kconfig.cpu" source "arch/x86/Kconfig.cpu"
endmenu endmenu
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册