diff options
author | Bang Li <libang.linuxer@gmail.com> | 2022-03-19 05:03:16 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@kernel.org> | 2022-04-19 00:47:05 +0300 |
commit | c6ed4d84a2c49de7d6f490144cca7b4a4831fb6e (patch) | |
tree | 8bd44a9893de75dde44a568294e510ae4aef87ab /mm/page_table_check.c | |
parent | ac411e41ec065daa867b5668b6e71ea1aff7b36a (diff) | |
download | linux-c6ed4d84a2c49de7d6f490144cca7b4a4831fb6e.tar.xz |
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 'mm/page_table_check.c')
0 files changed, 0 insertions, 0 deletions