diff options
| author | Paul Burton <[email protected]> | 2019-10-01 21:53:36 +0000 |
|---|---|---|
| committer | Paul Burton <[email protected]> | 2019-10-07 09:42:58 -0700 |
| commit | 9026737703aeee35702a0f990811e9202469c7b4 (patch) | |
| tree | d1a7e76850353be17193a10eb6e8bcef2f52e5ed /tools/perf/scripts/python/bin | |
| parent | 5bb29275df7a7aab8b6c29686109cc5cb1015850 (diff) | |
MIPS: bitops: Use smp_mb__before_atomic in test_* ops
Use smp_mb__before_atomic() rather than smp_mb__before_llsc() in
test_and_set_bit(), test_and_clear_bit() & test_and_change_bit(). The
_atomic() versions make semantic sense in these cases, and will allow a
later patch to omit redundant barriers for Loongson3 systems that
already include a barrier within __test_bit_op().
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