diff options
| author | David Hildenbrand <[email protected]> | 2023-12-20 23:44:45 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:52 -0800 |
| commit | 84f0169e6c8a613012722e0d63302f9da4a72099 (patch) | |
| tree | 04a20c4fe5a27feb7220020e8566bbf8d627eb3d /include | |
| parent | b832a354d787bfbdea5c226f0d77cc1a222d09f8 (diff) | |
mm/rmap: remove page_add_anon_rmap()
All users are gone, remove it and all traces.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: David Hildenbrand <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Muchun Song <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Ryan Roberts <[email protected]>
Cc: Yin Fengwei <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/rmap.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h index b5da3d86200e..fe7b5a8b0e75 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h @@ -239,8 +239,6 @@ void folio_add_anon_rmap_ptes(struct folio *, struct page *, int nr_pages, folio_add_anon_rmap_ptes(folio, page, 1, vma, address, flags) void folio_add_anon_rmap_pmd(struct folio *, struct page *, struct vm_area_struct *, unsigned long address, rmap_t flags); -void page_add_anon_rmap(struct page *, struct vm_area_struct *, - unsigned long address, rmap_t flags); void folio_add_new_anon_rmap(struct folio *, struct vm_area_struct *, unsigned long address); void folio_add_file_rmap_ptes(struct folio *, struct page *, int nr_pages, |