aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sh/mm/gup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/gup.c b/arch/sh/mm/gup.c
index 37458f38b220..e113bb429e8e 100644
--- a/arch/sh/mm/gup.c
+++ b/arch/sh/mm/gup.c
@@ -17,7 +17,7 @@
17static inline pte_t gup_get_pte(pte_t *ptep) 17static inline pte_t gup_get_pte(pte_t *ptep)
18{ 18{
19#ifndef CONFIG_X2TLB 19#ifndef CONFIG_X2TLB
20 return ACCESS_ONCE(*ptep); 20 return READ_ONCE(*ptep);
21#else 21#else
22 /* 22 /*
23 * With get_user_pages_fast, we walk down the pagetables without 23 * With get_user_pages_fast, we walk down the pagetables without