summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/vdso.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/vdso.h')
-rw-r--r--arch/mips/include/asm/vdso.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/vdso.h b/arch/mips/include/asm/vdso.h
index b7cd6cf77b83..91bf0c2c265c 100644
--- a/arch/mips/include/asm/vdso.h
+++ b/arch/mips/include/asm/vdso.h
@@ -99,7 +99,7 @@ static inline u32 vdso_data_read_begin(const union mips_vdso_data *data)
u32 seq;
while (true) {
- seq = ACCESS_ONCE(data->seq_count);
+ seq = READ_ONCE(data->seq_count);
if (likely(!(seq & 1))) {
/* Paired with smp_wmb() in vdso_data_write_*(). */
smp_rmb();