sparc32: unify __cmpxchg_u{32,64}

Add a macro that expands to one of those when given u32 or u64
as an argument - atomic32.c has a lot of similar stuff already.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
This commit is contained in:
Al Viro 2024-04-01 22:12:30 -04:00 • committed by Paul E. McKenney
commit d7b52b48f0