aboutsummaryrefslogtreecommitdiffstats
path: root/mm/gup.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/gup.c')
-rw-r--r--mm/gup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/gup.c b/mm/gup.c
index cd62c8c90d4a..f2305deaef50 100644
--- a/mm/gup.c
+++ b/mm/gup.c
@@ -917,7 +917,7 @@ static int gup_pud_range(pgd_t *pgdp, unsigned long addr, unsigned long end,
917 917
918 pudp = pud_offset(pgdp, addr); 918 pudp = pud_offset(pgdp, addr);
919 do { 919 do {
920 pud_t pud = ACCESS_ONCE(*pudp); 920 pud_t pud = READ_ONCE(*pudp);
921 921
922 next = pud_addr_end(addr, end); 922 next = pud_addr_end(addr, end);
923 if (pud_none(pud)) 923 if (pud_none(pud))