summaryrefslogtreecommitdiff
path: root/include/linux/atomic
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2023-05-31 16:08:36 +0300
committerPeter Zijlstra <peterz@infradead.org>2023-06-05 10:36:35 +0300
commitb23e139d0b66c0216e7e9361a5021290395f504c (patch)
tree0f4d5c909eab20ea594dda67675d6233923efcf3 /include/linux/atomic
parent224d80c584d3016cb8d83d1c33914fdd3508aa8c (diff)
downloadlinux-b23e139d0b66c0216e7e9361a5021290395f504c.tar.xz
arch: Introduce arch_{,try_}_cmpxchg128{,_local}()
For all architectures that currently support cmpxchg_double() implement the cmpxchg128() family of functions that is basically the same but with a saner interface. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20230531132323.452120708@infradead.org
Diffstat (limited to 'include/linux/atomic')
0 files changed, 0 insertions, 0 deletions