diff options
| author | Paul Burton <[email protected]> | 2019-10-01 21:53:21 +0000 |
|---|---|---|
| committer | Paul Burton <[email protected]> | 2019-10-07 09:42:32 -0700 |
| commit | 77d281b7966e476927a45c5fb272d720aa75bb95 (patch) | |
| tree | 0b2c440703c058cc6fe3e41923a9a9318a86d5e3 /tools/perf/scripts/python/bin | |
| parent | 4d1dbfe6cbec34c6398a480c0572bba794e89e11 (diff) | |
MIPS: atomic: Use _atomic barriers in atomic_sub_if_positive()
Use smp_mb__before_atomic() & smp_mb__after_atomic() in
atomic_sub_if_positive() rather than the equivalent
smp_mb__before_llsc() & smp_llsc_mb(). The former are more standard &
this preps us for avoiding redundant duplicate barriers on Loongson3 in
a later patch.
Signed-off-by: Paul Burton <[email protected]>
Cc: [email protected]
Cc: Huacai Chen <[email protected]>
Cc: Jiaxun Yang <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions