diff --git a/arch/mips/mm/gup.c b/arch/mips/mm/gup.c index 06ce17c2a905af5be1bb9bae744d2f03abc64a6e..8aa50e3f3fce5b326b53c04c9163afdfa9abaeb4 100644 --- a/arch/mips/mm/gup.c +++ b/arch/mips/mm/gup.c @@ -30,7 +30,7 @@ static inline pte_t gup_get_pte(pte_t *ptep) return pte; #else - return ACCESS_ONCE(*ptep); + return READ_ONCE(*ptep); #endif }