diff options
| author | 2022-03-19 10:03:16 +0800 | |
|---|---|---|
| committer | 2022-04-18 14:47:05 -0700 | |
| commit | c6ed4d84a2c49de7d6f490144cca7b4a4831fb6e (patch) | |
| tree | 8bd44a9893de75dde44a568294e510ae4aef87ab /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | ARC: atomic: cleanup atomic-llsc definitions (diff) | |
| download | linux-dev-c6ed4d84a2c49de7d6f490144cca7b4a4831fb6e.tar.xz linux-dev-c6ed4d84a2c49de7d6f490144cca7b4a4831fb6e.zip | |
ARC: remove redundant READ_ONCE() in cmpxchg loop
This patch reverts commit 7082a29c22ac ("ARC: use ACCESS_ONCE in cmpxchg
loop").
It is not necessary to use READ_ONCE() because cmpxchg contains barrier. We
can get it from commit d57f727264f1 ("ARC: add compiler barrier to LLSC
based cmpxchg").
Signed-off-by: Bang Li <libang.linuxer@gmail.com>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
