[PATCH v2 0/4] locking/atomic: arch_cmpxchg[64]_local undefined

From: wuqiang.matt
Date: Sat Nov 04 2023 - 05:17:00 EST


This patch series implement arch_cmpxchg[64]_local for arc,
openrisc and hexagon.

For architectures that support native cmpxchg, we'd like to
implement arch_cmpxchg[64]_local with the native variants of
supported data size. If not, the generci_cmpxchg[64]_local
will be used.

wuqiang.matt (4):
locking/atomic: arc: data size checking in arch_cmpxchg
locking/atomic: arc: arch_cmpxchg[64]_local undefined
locking/atomic: openrisc: arch_cmpxchg[64]_local undefined
locking/atomic: hexagon: arch_cmpxchg[64]_local undefined

arch/arc/include/asm/cmpxchg.h | 40 ++++++++++++++++++----
arch/hexagon/include/asm/cmpxchg.h | 51 ++++++++++++++++++++++++++++-
arch/openrisc/include/asm/cmpxchg.h | 6 ++++
3 files changed, 90 insertions(+), 7 deletions(-)

--
2.40.1