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

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/arm64/mm/mmu.c
arch/ia64/mm/discontig.c
arch/powerpc/mm/init_64.c
arch/s390/mm/vmem.c
arch/sparc/mm/init_64.c
arch/x86/mm/init_64.c
include/linux/memory_hotplug.h
include/linux/mm.h
mm/memory_hotplug.c
mm/sparse-vmemmap.c
mm/sparse.c