mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-18 14:58:25 -04:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user