aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/zstd/common/compiler.h
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-11-06 11:03:13 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-11-12 14:01:29 +0100
commit5ba865ad579c6a7efc8f17dab760478a4c5eec66 (patch)
treeb25e997fd7d14702991c3d2a93aca69ce34beb49 /lib/zstd/common/compiler.h
parents390/cmpxchg: Use arch_cmpxchg() instead of __atomic_cmpxchg() (diff)
downloadwireguard-linux-5ba865ad579c6a7efc8f17dab760478a4c5eec66.tar.xz
wireguard-linux-5ba865ad579c6a7efc8f17dab760478a4c5eec66.zip
s390/atomic: Provide arch_atomic_try_cmpxchg()
Since gcc 14 flag output operands are supported also for s390. Provide an arch_atomic try_cmpxchg() implementation so that all existing atomic_try_cmpxchg() usages generate 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>
Diffstat (limited to 'lib/zstd/common/compiler.h')
0 files changed, 0 insertions, 0 deletions