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