Message ID | 1421312314-72330-8-git-send-email-borntraeger@de.ibm.com |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/sh/mm/gup.c b/arch/sh/mm/gup.c index 37458f3..e113bb4 100644 --- a/arch/sh/mm/gup.c +++ b/arch/sh/mm/gup.c @@ -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