summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/kernel')
-rw-r--r--arch/arc/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c
index 6df9d94a9537..efe8b4200a67 100644
--- a/arch/arc/kernel/smp.c
+++ b/arch/arc/kernel/smp.c
@@ -250,7 +250,7 @@ static void ipi_send_msg_one(int cpu, enum ipi_msg_type msg)
250 * and read back old value 250 * and read back old value
251 */ 251 */
252 do { 252 do {
253 new = old = ACCESS_ONCE(*ipi_data_ptr); 253 new = old = READ_ONCE(*ipi_data_ptr);
254 new |= 1U << msg; 254 new |= 1U << msg;
255 } while (cmpxchg(ipi_data_ptr, old, new) != old); 255 } while (cmpxchg(ipi_data_ptr, old, new) != old);
256 256