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 <jchrist@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
Heiko Carstens
2024-11-06 11:03:09 +01:00
parent 0e7d3baa71
commit de9e2eb891

View File

@@ -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 */