From: Thadeu Lima de Souza Cascardo Date: Wed, 14 Sep 2011 23:21:08 +0000 (-0700) Subject: um: disable CMPXCHG_DOUBLE as it breaks UML build X-Git-Tag: upstream/snapshot3+hdmi~9101 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5f0bdc7840bdb791247cb98dfc1dab6ea6c7da4;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git um: disable CMPXCHG_DOUBLE as it breaks UML build Commit b789ef518b2 ("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: Thadeu Lima de Souza Cascardo Reviewed-by: Christoph Lameter Cc: Jeff Dike Cc: Richard Weinberger Signed-off-by: Richard Weinberger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/Kconfig.x86 b/arch/um/Kconfig.x86 index d31ecf3..21bebe6 100644 --- a/arch/um/Kconfig.x86 +++ b/arch/um/Kconfig.x86 @@ -10,6 +10,10 @@ config CMPXCHG_LOCAL bool default n +config CMPXCHG_DOUBLE + bool + default n + source "arch/x86/Kconfig.cpu" endmenu