]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/cmpxchg: Provide arch_try_cmpxchg128()
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 6 Nov 2024 10:03:10 +0000 (11:03 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 12 Nov 2024 13:01:28 +0000 (14:01 +0100)
commitc76b3bc28577b1be5ce8042d573e833f133d459a
treefdad5445166382b0a34b3efc5936df75dd6b795d
parentde9e2eb89175dd1ad469514f4a710fffe01efd86
s390/cmpxchg: Provide arch_try_cmpxchg128()

Since gcc 14 flag output operands are supported also for s390.

Provide an arch_try_cmpxchg128() implementation so that all existing
try_cmpxchg128() variants provide slightly better code, if compiled
with gcc 14 or newer.

Reviewed-by: Juergen Christ <jchrist@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/cmpxchg.h