aboutsummaryrefslogtreecommitdiffstats
path: root/mm/gup.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/gup.c')
-rw-r--r--mm/gup.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/gup.c b/mm/gup.c
index 4b0b7e7d1136..b599526db9f7 100644
--- a/mm/gup.c
+++ b/mm/gup.c
@@ -312,11 +312,6 @@ static int faultin_page(struct task_struct *tsk, struct vm_area_struct *vma,
312 /* mlock all present pages, but do not fault in new pages */ 312 /* mlock all present pages, but do not fault in new pages */
313 if ((*flags & (FOLL_POPULATE | FOLL_MLOCK)) == FOLL_MLOCK) 313 if ((*flags & (FOLL_POPULATE | FOLL_MLOCK)) == FOLL_MLOCK)
314 return -ENOENT; 314 return -ENOENT;
315 /* For mm_populate(), just skip the stack guard page. */
316 if ((*flags & FOLL_POPULATE) &&
317 (stack_guard_page_start(vma, address) ||
318 stack_guard_page_end(vma, address + PAGE_SIZE)))
319 return -ENOENT;
320 if (*flags & FOLL_WRITE) 315 if (*flags & FOLL_WRITE)
321 fault_flags |= FAULT_FLAG_WRITE; 316 fault_flags |= FAULT_FLAG_WRITE;
322 if (nonblocking) 317 if (nonblocking)