Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Miaohe Lin and committed by
Andrew Morton
e52ee4cc 5da226db

-3
-3
include/linux/page-isolation.h
··· 45 45 46 46 int test_pages_isolated(unsigned long start_pfn, unsigned long end_pfn, 47 47 int isol_flags); 48 - 49 - struct page *alloc_migrate_target(struct page *page, unsigned long private); 50 - 51 48 #endif