mm/gup: cache dev_pagemap while pinning pages
[muen/linux.git] / mm / nommu.c
index e4aac33216aec0f05022f17578b6dee03e25a4e4..749276beb1094d61b28da6a5e82c26a2696647ab 100644 (file)
@@ -1709,11 +1709,9 @@ SYSCALL_DEFINE5(mremap, unsigned long, addr, unsigned long, old_len,
        return ret;
 }
 
-struct page *follow_page_mask(struct vm_area_struct *vma,
-                             unsigned long address, unsigned int flags,
-                             unsigned int *page_mask)
+struct page *follow_page(struct vm_area_struct *vma, unsigned long address,
+                        unsigned int foll_flags)
 {
-       *page_mask = 0;
        return NULL;
 }