parisc: __cmpxchg_u32(): lift conversion into the callers
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 2 Apr 2024 02:22:50 +0000 (22:22 -0400)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 10 Apr 2024 05:06:00 +0000 (22:06 -0700)
commit29b8e53c1274f0ffda915ac6c0e5c59d14ee208e
tree818340c32db544c3c02c863ba6b248082ae9afa6
parentdbc93fdcdc0d4df7abad10aac14326a4a9975997
parisc: __cmpxchg_u32(): lift conversion into the callers

__cmpxchg_u32() return value is unsigned int explicitly cast to
unsigned long.  Both callers are returns from functions that
return unsigned long; might as well have __cmpxchg_u32()
return that unsigned int (aka u32) and let the callers convert
implicitly.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
arch/parisc/include/asm/cmpxchg.h
arch/parisc/lib/bitops.c