projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7d3ba
)
s390/cmpxchg: Provide arch_cmpxchg128_local()
author
Heiko Carstens
<hca@linux.ibm.com>
Wed, 6 Nov 2024 10:03:09 +0000
(11:03 +0100)
committer
Heiko Carstens
<hca@linux.ibm.com>
Tue, 12 Nov 2024 13:01:28 +0000
(14:01 +0100)
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>
arch/s390/include/asm/cmpxchg.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/include/asm/cmpxchg.h
b/arch/s390/include/asm/cmpxchg.h
index 26699347cc1aed583496405ea66064e19f843263..9407e6494afa47dcafb48738335582b217204b8f 100644
(file)
--- 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 */