diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-11-26 14:28:27 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-11-28 14:14:34 +0100 |
commit | 889221c4d78d754023bec8edec13d11a13b3fb51 (patch) | |
tree | a24da4365500394d1b004dfd1d50fadaab94b620 /drivers/platform/x86/intel/pmt/class.c | |
parent | 84ac96587b2a7a27d2aba250009c45dffb8ab4b6 (diff) | |
download | linux-889221c4d78d754023bec8edec13d11a13b3fb51.tar.gz linux-889221c4d78d754023bec8edec13d11a13b3fb51.tar.bz2 linux-889221c4d78d754023bec8edec13d11a13b3fb51.zip |
s390/spinlock: Use flag output constraint for arch_cmpxchg_niai8()
Add a new variant of arch_cmpxchg_niai8() which makes use of the flag
output constraint, which allows the compiler to generate slightly better
code. Also rename arch_cmpxchg_niai8() to arch_try_cmpxchg_niai8() which
reflects the purpose of the function and makes it consistent with other
"try" variants.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions