summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-10-26 13:03:48 +0300
committerThomas Gleixner <tglx@linutronix.de>2021-11-25 02:02:28 +0300
commit3297481d688a5cc2973ea58bd78e66b8639748b1 (patch)
tree3f9e7d8fb1601489125df8c689a28d3e29c8ef63 /init
parent3f2bedabb62c6210df63b604dc988d2f7f56f947 (diff)
downloadlinux-3297481d688a5cc2973ea58bd78e66b8639748b1.tar.xz
futex: Remove futex_cmpxchg detection
Now that all architectures have a working futex implementation in any configuration, remove the runtime detection code. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Acked-by: Vineet Gupta <vgupta@kernel.org> Acked-by: Max Filippov <jcmvbkbc@gmail.com> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Link: https://lore.kernel.org/r/20211026100432.1730393-2-arnd@kernel.org
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig8
1 files changed, 0 insertions, 8 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 3f5aa5063f55..76d89db5657b 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1592,14 +1592,6 @@ config FUTEX_PI
depends on FUTEX && RT_MUTEXES
default y
-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