lkml.org 
[lkml]   [2023]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] locking/atomic: arch_cmpxchg[64]_local undefined
Date
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

\
 
 \ /
  Last update: 2023-11-20 13:48    [W:0.057 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site