aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorZhangPeng <zhangpeng362@huawei.com>2023-07-01 11:28:53 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 10:12:01 -0700
commitfc1878ec70ede56ee48f2d65525d4f7c6888b496 (patch)
tree4dac6d6f4c0f15cd589a430b88cac249e80aef73 /include/linux/mm.h
parentmm: use a folio in fault_dirty_shared_page() (diff)
downloadwireguard-linux-fc1878ec70ede56ee48f2d65525d4f7c6888b496.tar.xz
wireguard-linux-fc1878ec70ede56ee48f2d65525d4f7c6888b496.zip
mm: remove page_rmapping()
After converting the last user to folio_raw_mapping(), we can safely remove the function. Link: https://lkml.kernel.org/r/20230701032853.258697-3-zhangpeng362@huawei.com Signed-off-by: ZhangPeng <zhangpeng362@huawei.com> Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Nanyong Sun <sunnanyong@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.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 406ab9ea818f..6d150990e35c 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2170,7 +2170,6 @@ static inline void *folio_address(const struct folio *folio)
return page_address(&folio->page);
}
-extern void *page_rmapping(struct page *page);
extern pgoff_t __page_file_index(struct page *page);
/*