Skip to content

Commit 9834602

Browse files
murzinvwilldeacon
authored andcommitted
arm64: Kconfig: select HAVE_FUTEX_CMPXCHG
arm64 provides always working implementation of futex_atomic_cmpxchg_inatomic(), so there is no need to check it runtime. Reported-by: Piyush swami <[email protected]> Signed-off-by: Vladimir Murzin <[email protected]> Signed-off-by: Will Deacon <[email protected]>
1 parent d41938d commit 9834602

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ config ARM64
161161
select HAVE_PERF_USER_STACK_DUMP
162162
select HAVE_REGS_AND_STACK_ACCESS_API
163163
select HAVE_FUNCTION_ARG_ACCESS_API
164+
select HAVE_FUTEX_CMPXCHG if FUTEX
164165
select HAVE_RCU_TABLE_FREE
165166
select HAVE_RSEQ
166167
select HAVE_STACKPROTECTOR

0 commit comments

Comments
 (0)