[PATCH] ARC: remove redundant READ_ONCE() in cmpxchg loop

2022-03-18 Thread Bang Li
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 --- arch/arc/kernel/smp.c

[PATCH] ARC: fix typos in comments

2022-03-18 Thread Julia Lawall
Various spelling mistakes in comments. Detected with the help of Coccinelle. Signed-off-by: Julia Lawall --- arch/arc/kernel/disasm.c|2 +- arch/arc/kernel/signal.c|2 +- arch/arc/kernel/smp.c |2 +- arch/arc/kernel/unaligned.c |2 +- arch/arc/mm/cache.c |