diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-02-24 11:02:37 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2023-02-28 13:19:05 +0100 |
commit | 5e02c74905cb00184b6c5ae70b1c1bfae5b3bd17 (patch) | |
tree | 06fbc649485e79c8dc26080ee36b8819a6cc260f /lib/lshrdi3.c | |
parent | s390/rwonce: add READ_ONCE_ALIGNED_128() macro (diff) | |
download | linux-5e02c74905cb00184b6c5ae70b1c1bfae5b3bd17.tar.xz linux-5e02c74905cb00184b6c5ae70b1c1bfae5b3bd17.zip |
s390/cpum_sf: use READ_ONCE_ALIGNED_128() instead of 128-bit cmpxchg
Use READ_ONCE_ALIGNED_128() to read the previous value in front of a
128-bit cmpxchg loop, instead of (mis-)using a 128-bit cmpxchg operation to
do the same.
This makes the code more readable and is faster.
Link: https://lore.kernel.org/r/20230224100237.3247871-3-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'lib/lshrdi3.c')
0 files changed, 0 insertions, 0 deletions