summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/gup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm/gup.c')
-rw-r--r--arch/mips/mm/gup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/gup.c b/arch/mips/mm/gup.c
index 06ce17c2a905..8aa50e3f3fce 100644
--- a/arch/mips/mm/gup.c
+++ b/arch/mips/mm/gup.c
@@ -30,7 +30,7 @@ retry:
return pte;
#else
- return ACCESS_ONCE(*ptep);
+ return READ_ONCE(*ptep);
#endif
}