memory_hotplug: remove duplicate declaration of offline_pages()
A message that is not in the archive (sent off-list or not yet received): [email protected]
David Hildenbrand
Reviewed-byQuoted 15 lines · Wei Yang
Function
offline_pages()is already declared in this file.Just remove the duplicated one.
Signed-off-by Wei Yang <[email protected]>--- include/linux/memory_hotplug.h | 1 - 1 file changed, 1 deletion(-)include/linux/memory_hotplug.h +0
-0
include/linux/memory_hotplug.h extern int arch_add_memory(int nid, u64 start, u64 size, · line 336
Quoted 7 lines
include/linux/memory_hotplug.h +0
-1@@ -331,7 +331,6 @@ extern int arch_add_memory(int nid, u64 start, u64 size, struct vmem_altmap *altmap, bool want_memblock);extern void move_pfn_range_to_zone (struct zone *zone,unsigned long start_pfn,unsigned long nr_pages,struct vmem_altmap *altmap); -extern int offline_pages (unsigned long start_pfn,unsigned long nr_pages);extern bool is_memblock_offlined (struct memory_block *mem);extern int sparse_add_one_section (int nid,unsigned long start_pfn,struct vmem_altmap *altmap);
Reviewed-by David Hildenbrand <[email protected]>
Signature · 3 lines
Thanks, David / dhildenb