diff options
Diffstat (limited to 'arch/mips/mm/gup.c')
-rw-r--r-- | arch/mips/mm/gup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/gup.c b/arch/mips/mm/gup.c index 06ce17c2a90..70795a67a27 100644 --- a/arch/mips/mm/gup.c +++ b/arch/mips/mm/gup.c @@ -17,7 +17,7 @@ static inline pte_t gup_get_pte(pte_t *ptep) { -#if defined(CONFIG_64BIT_PHYS_ADDR) && defined(CONFIG_CPU_MIPS32) +#if defined(CONFIG_PHYS_ADDR_T_64BIT) && defined(CONFIG_CPU_MIPS32) pte_t pte; retry: @@ -30,7 +30,7 @@ retry: return pte; #else - return ACCESS_ONCE(*ptep); + return READ_ONCE(*ptep); #endif } |