diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-11-06 11:03:08 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-11-12 14:01:28 +0100 |
commit | 0e7d3baa71165a3fbf26206d69355eda0a1d993b (patch) | |
tree | 5549cbb596566b0b3bc6c2696697bef7b5d72e4a /scripts/lib/kdoc/kdoc_files.py | |
parent | 0b6de9aec285d24d49a918d52915ed231b2d9e87 (diff) |
s390/cmpxchg: Implement arch_xchg() with arch_try_cmpxchg()
Get rid of the arch_xchg() inline assemblies by converting the inline
assemblies to C functions which make use of arch_try_cmpxchg().
With flag output operand support the generated code is at least as good as
the previous version. Without it is slightly worse, however getting rid of
all the inline assembly code is worth it.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions