mm: pass the vmem_altmap to arch_add_memory and __add_pages
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Dec 2017 07:53:53 +0000 (08:53 +0100)
committerDan Williams <dan.j.williams@intel.com>
Mon, 8 Jan 2018 19:46:23 +0000 (11:46 -0800)
commit24e6d5a59ac7d31adc0322de2d0117dfa370936f
treeb021d2de9c55ffda9054b36e8d76487c1c06f876
parent55ce6e23ebd159bc3d8f0a20e27503e09b5d8138
mm: pass the vmem_altmap to arch_add_memory and __add_pages

We can just pass this on instead of having to do a radix tree lookup
without proper locking 2 levels into the callchain.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/ia64/mm/init.c
arch/powerpc/mm/mem.c
arch/s390/mm/init.c
arch/sh/mm/init.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c
include/linux/memory_hotplug.h
kernel/memremap.c
mm/hmm.c
mm/memory_hotplug.c