]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/mm.h
mm/gup: cache dev_pagemap while pinning pages
[linux.git] / include / linux / mm.h
index a023c5ce71fadcb07fabe439c6f9f3ef0f850990..1e52b8fd168593fb85356afedb07a29b66d95aac 100644 (file)
@@ -2536,16 +2536,8 @@ static inline vm_fault_t vmf_error(int err)
        return VM_FAULT_SIGBUS;
 }
 
-struct page *follow_page_mask(struct vm_area_struct *vma,
-                             unsigned long address, unsigned int foll_flags,
-                             unsigned int *page_mask);
-
-static inline struct page *follow_page(struct vm_area_struct *vma,
-               unsigned long address, unsigned int foll_flags)
-{
-       unsigned int unused_page_mask;
-       return follow_page_mask(vma, address, foll_flags, &unused_page_mask);
-}
+struct page *follow_page(struct vm_area_struct *vma, unsigned long address,
+                        unsigned int foll_flags);
 
 #define FOLL_WRITE     0x01    /* check pte is writable */
 #define FOLL_TOUCH     0x02    /* mark page accessed */