diff mbox series

arm64: Kconfig: select HAVE_FUTEX_CMPXCHG

Message ID 1579516562-52175-1-git-send-email-vladimir.murzin@arm.com
State Mainlined
Commit 98346023365931948b78436ae761544b09035b3b
Headers show
Series arm64: Kconfig: select HAVE_FUTEX_CMPXCHG | expand

Commit Message

Vladimir Murzin Jan. 20, 2020, 10:36 a.m. UTC
arm64 provides always working implementation of futex_atomic_cmpxchg_inatomic(),
so there is no need to check it runtime.

Reported-by: Piyush swami <Piyush.swami@arm.com>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
---
 arch/arm64/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index b1b4476..910a686 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -161,6 +161,7 @@  config ARM64
 	select HAVE_PERF_USER_STACK_DUMP
 	select HAVE_REGS_AND_STACK_ACCESS_API
 	select HAVE_FUNCTION_ARG_ACCESS_API
+	select HAVE_FUTEX_CMPXCHG if FUTEX
 	select HAVE_RCU_TABLE_FREE
 	select HAVE_RSEQ
 	select HAVE_STACKPROTECTOR