summaryrefslogtreecommitdiff
path: root/include/linux/page-isolation.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2023-06-03 22:25:13 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-06-19 16:19:00 -0700
commite52ee4cc8fa87a75ab0cfc7bf51c0715a880a08e (patch)
tree2729dde3bd8121a3adf7c76ca6d3fcbfd8a64482 /include/linux/page-isolation.h
parent5da226dbfce3a2f44978c2c7cf88166e69a6788b (diff)
mm: remove obsolete alloc_migrate_target()
There's only declaration left in the header file. Remove it. Link: https://lkml.kernel.org/r/20230603142513.787000-1-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/page-isolation.h')
-rw-r--r--include/linux/page-isolation.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/page-isolation.h b/include/linux/page-isolation.h
index 0ab089e89db4..4ac34392823a 100644
--- a/include/linux/page-isolation.h
+++ b/include/linux/page-isolation.h
@@ -45,7 +45,4 @@ void undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn,
int test_pages_isolated(unsigned long start_pfn, unsigned long end_pfn,
int isol_flags);
-
-struct page *alloc_migrate_target(struct page *page, unsigned long private);
-
#endif