Skip to content

Commit e5f0bdc

Browse files
Thadeu Lima de Souza Cascardotorvalds
authored andcommitted
um: disable CMPXCHG_DOUBLE as it breaks UML build
Commit b789ef5 ("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 <cascardo@holoscopio.com> Reviewed-by: Christoph Lameter <cl@linux.com> Cc: Jeff Dike <jdike@addtoit.com> Cc: Richard Weinberger <richard@nod.at> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 0d6617c commit e5f0bdc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎arch/um/Kconfig.x86‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ config CMPXCHG_LOCAL
1010
bool
1111
default n
1212

13+
config CMPXCHG_DOUBLE
14+
bool
15+
default n
16+
1317
source "arch/x86/Kconfig.cpu"
1418

1519
endmenu

0 commit comments

Comments
 (0)