]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit283274e1375fc5fbc19c4cd2b2a8e124b57fd145
tree5cf285a6c648b896ee8590931d74f921c5c7f8dd
parent5db9b3f0c890f6a4ef8aeb2e3c514befae0ad6f0
um: disable CONFIG_CMPXCHG_LOCAL

Commit 1b28e5b6 "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