The patch titled Subject: include/linux/memory_hotplug.h: remove duplicate declaration of offline_pages() has been added to the -mm tree. Its filename is memory_hotplug-remove-duplicate-declaration-of-offline_pages.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/memory_hotplug-remove-duplicate-declaration-of-offline_pages.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/memory_hotplug-remove-duplicate-declaration-of-offline_pages.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wei Yang <richard.weiyang@xxxxxxxxx> Subject: include/linux/memory_hotplug.h: remove duplicate declaration of offline_pages() offline_pages() is already declared in this file. Just remove the duplicated one. Link: http://lkml.kernel.org/r/20181205031357.24769-1-richard.weiyang@xxxxxxxxx Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx> Reviewed-by: David Hildenbrand <david@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/memory_hotplug.h | 1 - 1 file changed, 1 deletion(-) --- a/include/linux/memory_hotplug.h~memory_hotplug-remove-duplicate-declaration-of-offline_pages +++ a/include/linux/memory_hotplug.h @@ -333,7 +333,6 @@ extern int arch_add_memory(int nid, u64 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); _ Patches currently in -mm which might be from richard.weiyang@xxxxxxxxx are mm-slub-remove-validation-on-cpu_slab-in-__flush_cpu_slab.patch mm-slub-page-is-always-non-null-for-node_match.patch mm-slub-record-final-state-of-slub-action-in-deactivate_slab.patch mm-slub-improve-performance-by-skipping-checked-node-in-get_any_partial.patch mm-remove-reset-of-pcp-counter-in-pageset_init.patch vmscan-return-node_reclaim_noscan-in-node_reclaim-when-config_numa-is-n.patch drivers-base-memoryc-remove-an-unnecessary-check-on-nr_mem_sections.patch mm-check-nr_initialised-with-pages_per_section-directly-in-defer_init.patch mm-sparse-drop-pgdat_resize_lock-in-sparse_add-remove_one_section.patch mm-sparse-drop-pgdat_resize_lock-in-sparse_add-remove_one_section-v4.patch mm-sparse-pass-nid-instead-of-pgdat-to-sparse_add_one_section.patch mm-hotplug-move-init_currently_empty_zone-under-zone_span_lock-protection.patch mm-show_mem-drop-pgdat_resize_lock-in-show_mem.patch mm-page_alloc-calculate-first_deferred_pfn-directly.patch memory_hotplug-remove-duplicate-declaration-of-offline_pages.patch