X-Git-Url: http://git.cascardo.info/?p=cascardo%2Flinux.git;a=blobdiff_plain;f=arch%2Fx86%2Fmm%2Fgup.c;h=d7547824e76369d6e14ed6ddd7ee39a55ef94a2e;hp=207d9aef662def24bfef094ff587f56f33afa595;hb=64bb1b944b554a751b518b09c3d596f6b6c0ce31;hpb=9c1db7798141e2658e4b5bb170128dfdc3270ff4 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 @@ static inline pte_t gup_get_pte(pte_t *ptep) { #ifndef CONFIG_X86_PAE - return ACCESS_ONCE(*ptep); + return READ_ONCE(*ptep); #else /* * With get_user_pages_fast, we walk down the pagetables without taking