mm: pass the vmem_altmap to arch_remove_memory and __remove_pages
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Dec 2017 07:53:55 +0000 (08:53 +0100)
committerDan Williams <dan.j.williams@intel.com>
Mon, 8 Jan 2018 19:46:23 +0000 (11:46 -0800)
commitda024512a1fa5c979257e442130ee1d468285057
tree5cad09e1c6c715648c61a352b94b80c47e6d5beb
parent7b73d978a5d0d2a3637bdd57191cb6ffbad3feca
mm: pass the vmem_altmap to arch_remove_memory and __remove_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