mm_populate_vma is only internal to mm code
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
/* Ignore errors */
(void) __mm_populate(addr, len, 1);
}
-extern void mm_populate_vma(struct vm_area_struct *vma, unsigned long start,
- unsigned long end);
#else
static inline void mm_populate(unsigned long addr, unsigned long len) {}
-void mm_populate_vma(struct vm_area_struct *vma, unsigned long start,
- unsigned long end) {}
#endif
/* These take the mm semaphore themselves */
return (flags & (VM_WRITE | VM_SHARED | VM_STACK)) == VM_WRITE;
}
+/* mm/gup.c */
+extern void mm_populate_vma(struct vm_area_struct *vma, unsigned long start,
+ unsigned long end);
+
/* Maple tree operations using VMAs */
/*
* vma_mas_store() - Store a VMA in the maple tree.