diff options
| author | Will Deacon <[email protected]> | 2018-09-13 13:30:45 +0100 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2018-12-07 17:27:55 +0000 |
| commit | 5ef3fe4cecdf82fdd71ce78988403963d01444d4 (patch) | |
| tree | 937f28f9e3beea1a63e0d21c4c95bf604af3ade2 /lib/mpi/mpiutil.c | |
| parent | 396244692232fcf0881cb6ba2404be2906f47681 (diff) | |
arm64: Avoid redundant type conversions in xchg() and cmpxchg()
Our atomic instructions (either LSE atomics of LDXR/STXR sequences)
natively support byte, half-word, word and double-word memory accesses
so there is no need to mask the data register prior to being stored.
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions