um: disable CONFIG_CMPXCHG_LOCAL
authorRichard Weinberger <richard@nod.at>
Thu, 14 Apr 2011 22:22:18 +0000 (15:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 14 Apr 2011 23:06:56 +0000 (16:06 -0700)
commit084189a88754d40e1bb9bfbc278e70c33e571685
tree5cf285a6c648b896ee8590931d74f921c5c7f8dd
parent6d56dad3ae070511e59792a62f27b2394cc936bc
um: disable CONFIG_CMPXCHG_LOCAL

Commit 8a5ec0ba "Lockless (and preemptless) fastpaths for slub" makes use
of this_cpu_cmpxchg_double() which needs this_cpu_cmpxchg16b_emu() on
x86_64.  Implementing cmpxchg16b emulation for UML would introduce too
much complexity.  So just disable it.

Signed-off-by: Richard Weinberger <richard@nod.at>
Reported-by: Sergei Trofimovich <slyich@gmail.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/Kconfig.x86