Messages in this thread | | | Date | Tue, 02 Apr 2024 09:28:57 +0200 | From | "Arnd Bergmann" <> | Subject | Re: [PATCH 3/8] sparc32: unify __cmpxchg_u{32,64} |
| |
On Tue, Apr 2, 2024, at 06:28, Al Viro wrote: > 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>
I think we should merge Sam's series to remove non-CAS sparc32 first:
https://lore.kernel.org/all/20240309-sunset-v2-0-f09912574d2c@ravnborg.org/
I don't see a patch yet to actually change cmpxchg() to use CAS, but it can probably just share the sparc64 implementation at that point.
Arnd
| |