diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-29 17:52:52 +0100 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-03-21 18:01:35 +0100 |
commit | e05b34539d008ab819388f699b25eae962ba24ac (patch) | |
tree | 23c42e119ed67ffe3cda211f97e49ddfe8d0f012 /mm/internal.h | |
parent | mm/rmap: Turn page_lock_anon_vma_read() into folio_lock_anon_vma_read() (diff) | |
download | linux-e05b34539d008ab819388f699b25eae962ba24ac.tar.xz 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 'mm/internal.h')
-rw-r--r-- | mm/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/internal.h b/mm/internal.h index 6039acc780c0..2b2c2c4eb63a 100644 --- a/mm/internal.h +++ b/mm/internal.h @@ -392,6 +392,7 @@ static inline bool is_data_mapping(vm_flags_t flags) void __vma_link_list(struct mm_struct *mm, struct vm_area_struct *vma, struct vm_area_struct *prev); void __vma_unlink_list(struct mm_struct *mm, struct vm_area_struct *vma); +struct anon_vma *folio_anon_vma(struct folio *folio); #ifdef CONFIG_MMU void unmap_mapping_folio(struct folio *folio); |