From de9e2eb89175dd1ad469514f4a710fffe01efd86 Mon Sep 17 00:00:00 2001 From: Heiko Carstens Date: Wed, 6 Nov 2024 11:03:09 +0100 Subject: [PATCH] s390/cmpxchg: Provide arch_cmpxchg128_local() Just like x86 and arm64 provide a trivial arch_cmpxchg128_local() implementation by mapping it to arch_cmpxchg128(). Reviewed-by: Juergen Christ Signed-off-by: Heiko Carstens --- arch/s390/include/asm/cmpxchg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/s390/include/asm/cmpxchg.h b/arch/s390/include/asm/cmpxchg.h index 26699347cc1a..9407e6494afa 100644 --- a/arch/s390/include/asm/cmpxchg.h +++ b/arch/s390/include/asm/cmpxchg.h @@ -249,5 +249,6 @@ static __always_inline u128 arch_cmpxchg128(volatile u128 *ptr, u128 old, u128 n } #define arch_cmpxchg128 arch_cmpxchg128 +#define arch_cmpxchg128_local arch_cmpxchg128 #endif /* __ASM_CMPXCHG_H */ -- 2.25.1