diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-04-01 22:17:49 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2024-04-09 22:06:00 -0700 |
commit | dbc93fdcdc0d4df7abad10aac14326a4a9975997 (patch) | |
tree | 08ff4b171a82cd2ae51572aded2a8624c66a59b7 /arch/sparc/lib | |
parent | d7b52b48f006ea3dd2e682097a91eeda9dfb3df9 (diff) | |
download | linux-stable-dbc93fdcdc0d4df7abad10aac14326a4a9975997.tar.gz linux-stable-dbc93fdcdc0d4df7abad10aac14326a4a9975997.tar.bz2 linux-stable-dbc93fdcdc0d4df7abad10aac14326a4a9975997.zip |
sparc32: add __cmpxchg_u{8,16}() and teach __cmpxchg() to handle those sizes
trivial now
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'arch/sparc/lib')
-rw-r--r-- | arch/sparc/lib/atomic32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/lib/atomic32.c b/arch/sparc/lib/atomic32.c index 0d215a772428..8ae880ebf07a 100644 --- a/arch/sparc/lib/atomic32.c +++ b/arch/sparc/lib/atomic32.c @@ -173,8 +173,12 @@ EXPORT_SYMBOL(sp32___change_bit); return prev; \ } +CMPXCHG(u8) +CMPXCHG(u16) CMPXCHG(u32) CMPXCHG(u64) +EXPORT_SYMBOL(__cmpxchg_u8); +EXPORT_SYMBOL(__cmpxchg_u16); EXPORT_SYMBOL(__cmpxchg_u32); EXPORT_SYMBOL(__cmpxchg_u64); |