diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2024-11-06 11:03:09 +0100 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2024-11-12 14:01:28 +0100 |
| commit | de9e2eb89175dd1ad469514f4a710fffe01efd86 (patch) | |
| tree | 3d7b3334a804881383ff430134df88dd14fb6d65 | |
| parent | s390/cmpxchg: Implement arch_xchg() with arch_try_cmpxchg() (diff) | |
| download | linux-de9e2eb89175dd1ad469514f4a710fffe01efd86.tar.gz linux-de9e2eb89175dd1ad469514f4a710fffe01efd86.zip | |
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>
| -rw-r--r-- | arch/s390/include/asm/cmpxchg.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |
