From: Vladimir Murzin vladimir.murzin@arm.com
mainline inclusion from mainline-v5.6-rc1 commit 98346023365931948b78436ae761544b09035b3b category: bugfix bugzilla: 28680 CVE: NA
-------------------------------------------------------------------------
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 Signed-off-by: Will Deacon will@kernel.org Conflicts: arch/arm64/Kconfig
Signed-off-by: Zhen Lei thunder.leizhen@huawei.com Reviewed-by: Hanjun Guo guohanjun@huawei.com Signed-off-by: Yang Yingliang yangyingliang@huawei.com --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 95f8b6b..8ef0c73 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -143,6 +143,7 @@ config ARM64 select HAVE_PERF_REGS select HAVE_PERF_USER_STACK_DUMP select HAVE_REGS_AND_STACK_ACCESS_API + select HAVE_FUTEX_CMPXCHG if FUTEX select HAVE_RCU_TABLE_FREE select HAVE_RCU_TABLE_INVALIDATE select HAVE_RSEQ