Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/borntraeger...
[linux-drm-fsl-dcu.git] / arch / sh / mm / gup.c
index e15f52a17b6c1c3650ccb1e2549e3e2bbc7679e1..e7af6a65baab915552ae405a16d3bd405b84f763 100644 (file)
@@ -17,7 +17,7 @@
 static inline pte_t gup_get_pte(pte_t *ptep)
 {
 #ifndef CONFIG_X2TLB
-       return ACCESS_ONCE(*ptep);
+       return READ_ONCE(*ptep);
 #else
        /*
         * With get_user_pages_fast, we walk down the pagetables without