[PATCH] mm: remove obsolete alloc_migrate_target()

Miaohe Lin posted 1 patch 2 years, 8 months ago
include/linux/page-isolation.h | 3 ---
1 file changed, 3 deletions(-)
[PATCH] mm: remove obsolete alloc_migrate_target()
Posted by Miaohe Lin 2 years, 8 months ago
There's only declaration left in the header file. Remove it.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
 include/linux/page-isolation.h | 3 ---
 1 file changed, 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
-- 
2.27.0
Re: [PATCH] mm: remove obsolete alloc_migrate_target()
Posted by David Hildenbrand 2 years, 8 months ago
On 03.06.23 16:25, Miaohe Lin wrote:
> There's only declaration left in the header file. Remove it.
> 
> Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
> ---
>   include/linux/page-isolation.h | 3 ---
>   1 file changed, 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

Reviewed-by: David Hildenbrand <david@redhat.com>

-- 
Cheers,

David / dhildenb