From: Heiko Carstens Date: Wed, 6 Nov 2024 10:03:09 +0000 (+0100) Subject: s390/cmpxchg: Provide arch_cmpxchg128_local() X-Git-Tag: v6.13-rc1~206^2~35 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=de9e2eb89175dd1ad469514f4a710fffe01efd86;p=linux-block.git 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 --- 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 */