Commit a7030aea authored by Bharath Vedartham's avatar Bharath Vedartham Committed by Linus Torvalds
Browse files

mm/gup.c: make follow_page_mask() static

follow_page_mask() is only used in gup.c, make it static.


Signed-off-by: default avatarBharath Vedartham <>
Reviewed-by: default avatarIra Weiny <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 44567607
......@@ -515,7 +515,7 @@ static struct page *follow_p4d_mask(struct vm_area_struct *vma,
* an error pointer if there is a mapping to something not represented
* by a page descriptor (see also vm_normal_page()).
struct page *follow_page_mask(struct vm_area_struct *vma,
static struct page *follow_page_mask(struct vm_area_struct *vma,
unsigned long address, unsigned int flags,
struct follow_page_context *ctx)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment