aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2022-01-29 11:52:52 -0500
committerGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2022-03-21 13:01:35 -0400
commite05b34539d008ab819388f699b25eae962ba24ac (patch)
tree23c42e119ed67ffe3cda211f97e49ddfe8d0f012 /include/linux/mm.h
parentmm/rmap: Turn page_lock_anon_vma_read() into folio_lock_anon_vma_read() (diff)
downloadlinux-e05b34539d008ab819388f699b25eae962ba24ac.tar.gz
linux-e05b34539d008ab819388f699b25eae962ba24ac.tar.bz2
linux-e05b34539d008ab819388f699b25eae962ba24ac.zip
mm: Turn page_anon_vma() into folio_anon_vma()
Move the prototype from mm.h to mm/internal.h and convert all callers to pass a folio. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 0d380dc26847..a879c583f665 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -1730,7 +1730,6 @@ static inline void *folio_address(const struct folio *folio)
}
extern void *page_rmapping(struct page *page);
-extern struct anon_vma *page_anon_vma(struct page *page);
extern pgoff_t __page_file_index(struct page *page);
/*