Skip to contentSkip to conversation

mm: remove obsolete alloc_migrate_target()

PATCH Applied Miaohe Lin 2 participants 2 messages Jun 3, 2023 – Jun 5, 2023

Subsystems (2)
lore
Share & tools
lore

Miaohe Lin

author
#0 lore raw

PATCH 1/1 mm: remove obsolete alloc_migrate_target()

There's only declaration left in the header file. Remove it.

---
 include/linux/page-isolation.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/page-isolation.h +0 -3
index 0ab089e89db4..4ac34392823a 100644
@@ -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
Signature · 1 line
2.27.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Miaohe Lin

There's only declaration left in the header file. Remove it.

---
  include/linux/page-isolation.h | 3 ---
  1 file changed, 3 deletions(-)
include/linux/page-isolation.h +0 -0
index 0ab089e89db4..4ac34392823a 100644

include/linux/page-isolation.h void undo_isolate_page_range(unsigned long start_pfn, unsigned long end_pfn, · line 48

Quoted 7 lines
include/linux/page-isolation.h +0 -3
@@ -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
Signature · 3 lines
Cheers,

David / dhildenb