dm space map metadata: fix sm_bootstrap_get_nr_blocks()
[firefly-linux-kernel-4.4.55.git] / init / Kconfig
index 2d9b83104dcf715197f1a84d34b892783ff79fe2..8fa4f758821a694b09b2ddb42ee94c69a90345a7 100644 (file)
@@ -1365,6 +1365,14 @@ config FUTEX
          support for "fast userspace mutexes".  The resulting kernel may not
          run glibc-based applications correctly.
 
+config HAVE_FUTEX_CMPXCHG
+       bool
+       depends on FUTEX
+       help
+         Architectures should select this if futex_atomic_cmpxchg_inatomic()
+         is implemented and always working. This removes a couple of runtime
+         checks.
+
 config EPOLL
        bool "Enable eventpoll support" if EXPERT
        default y