Re: [PATCH v2 2/4] locking/atomic: arc: arch_cmpxchg[64]_local undefined

2023-11-07 Thread Google
On Sat, 4 Nov 2023 17:16:13 +0800 "wuqiang.matt" wrote: > 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. > Looks good to me. Reviewed-by: Ma

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

2023-11-04 Thread wuqiang.matt
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. Signed-off-by: wuqiang.matt --- arch/arc/include/asm/cmpxchg.h | 28 1 fi