OSDN Git Service

s390/atomic: use proper constraints
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 22 Mar 2021 13:08:39 +0000 (14:08 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 12 Apr 2021 10:46:43 +0000 (12:46 +0200)
commitca897bb1814fc77ce2ded7b31350ff2b25ccb0a4
tree7bce1129bbca8e91d11adc4fbf28ece4a8bac637
parentc8a91c285d8c3449b32021b28bcb7fb5662403a8
s390/atomic: use proper constraints

Use the R,T, and S constraints instead of the Q constraint in atomic
inline assemblies wherever possible. This allows the compiler to
generate better code. (~ -2kb code size).

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/atomic_ops.h