summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-11-26 14:28:27 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-11-28 14:14:34 +0100
commit889221c4d78d754023bec8edec13d11a13b3fb51 (patch)
treea24da4365500394d1b004dfd1d50fadaab94b620 /drivers/platform/x86/intel/pmt/class.c
parent84ac96587b2a7a27d2aba250009c45dffb8ab4b6 (diff)
downloadlinux-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