]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/atomic: Provide arch_atomic_*_and_test() implementations
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 11 Dec 2024 11:58:04 +0000 (12:58 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Sun, 15 Dec 2024 15:19:03 +0000 (16:19 +0100)
commita53f5d247e24f4d3fb1218f23abdb5096488f4cb
treebc0f490758ca8f62c8c499e5acd51b2c0416bb6f
parent7c7f32c9ee8ecd626dffc28be601b37c111ebd60
s390/atomic: Provide arch_atomic_*_and_test() implementations

Provide arch_atomic_*_and_test() implementations which make use of flag
output constraints, and allow the compiler to generate slightly better
code.

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