The patch titled Subject: mm-fix-phys_to_target_node-and-memory_add_physaddr_to_nid-exports-v4 has been removed from the -mm tree. Its filename was mm-fix-phys_to_target_node-and-memory_add_physaddr_to_nid-exports-v4.patch This patch was dropped because it was folded into mm-fix-phys_to_target_node-and-memory_add_physaddr_to_nid-exports.patch ------------------------------------------------------ From: Dan Williams <dan.j.williams@xxxxxxxxx> Subject: mm-fix-phys_to_target_node-and-memory_add_physaddr_to_nid-exports-v4 (Stephen) PowerPC header include dependencies make it difficult to include asm/sparsemem.h in linux/numa.h due to missing definition of pgprot. Move the declaration of create_section_mapping() to asm/mmzone.h. This has received a build success notification from the kbuild-robot over 159 configs. Link: https://lkml.kernel.org/r/160461461867.1505359.5301571728749534585.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Fixes: a035b6bf863e ("mm/memory_hotplug: introduce default phys_to_target_node() implementation") Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Reported-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Tested-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Reviewed-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Reported-by: kernel test robot <lkp@xxxxxxxxx> Reported-by: Christoph Hellwig <hch@xxxxxxxxxxxxx> Reviewed-by: Christoph Hellwig <hch@xxxxxx> Cc: Joao Martins <joao.m.martins@xxxxxxxxxx> Cc: Tony Luck <tony.luck@xxxxxxxxx> Cc: Fenghua Yu <fenghua.yu@xxxxxxxxx> Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Vishal Verma <vishal.l.verma@xxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/powerpc/include/asm/mmzone.h | 2 ++ arch/powerpc/include/asm/sparsemem.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/arch/powerpc/include/asm/mmzone.h~mm-fix-phys_to_target_node-and-memory_add_physaddr_to_nid-exports-v4 +++ a/arch/powerpc/include/asm/mmzone.h @@ -33,6 +33,8 @@ extern struct pglist_data *node_data[]; extern int numa_cpu_lookup_table[]; extern cpumask_var_t node_to_cpumask_map[]; #ifdef CONFIG_MEMORY_HOTPLUG +extern int create_section_mapping(unsigned long start, unsigned long end, + int nid, pgprot_t prot); extern unsigned long max_pfn; u64 memory_hotplug_max(void); #else --- a/arch/powerpc/include/asm/sparsemem.h~mm-fix-phys_to_target_node-and-memory_add_physaddr_to_nid-exports-v4 +++ a/arch/powerpc/include/asm/sparsemem.h @@ -13,8 +13,6 @@ #endif /* CONFIG_SPARSEMEM */ #ifdef CONFIG_MEMORY_HOTPLUG -extern int create_section_mapping(unsigned long start, unsigned long end, - int nid, pgprot_t prot); extern int remove_section_mapping(unsigned long start, unsigned long end); extern int memory_add_physaddr_to_nid(u64 start); #define memory_add_physaddr_to_nid memory_add_physaddr_to_nid _ Patches currently in -mm which might be from dan.j.williams@xxxxxxxxx are mm-fix-phys_to_target_node-and-memory_add_physaddr_to_nid-exports.patch mm-fix-phys_to_target_node-and-memory_add_physaddr_to_nid-exports-v4-fix.patch device-dax-kmem-use-struct_size.patch xen-unpopulated-alloc-consolidate-pgmap-manipulation.patch