summaryrefslogtreecommitdiffstats
path: root/include/linux/mm.h
diff options
context:
space:
mode:
authorChristoph Hellwig2017-12-29 08:53:57 +0100
committerDan Williams2018-01-08 20:46:23 +0100
commita99583e780c751003ac9c0105eec9a3b23ec3bc4 (patch)
tree084c7a60723639f7e9d61509f843b6eea0f70fb0 /include/linux/mm.h
parentmm: pass the vmem_altmap to vmemmap_free (diff)
downloadkernel-qcow2-linux-a99583e780c751003ac9c0105eec9a3b23ec3bc4.tar.gz
kernel-qcow2-linux-a99583e780c751003ac9c0105eec9a3b23ec3bc4.tar.xz
kernel-qcow2-linux-a99583e780c751003ac9c0105eec9a3b23ec3bc4.zip
mm: pass the vmem_altmap to memmap_init_zone
Pass the vmem_altmap two levels down instead of needing a lookup. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/mm.h')
-rw-r--r--include/linux/mm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 9d4cd4c1dc6d..fd01135324b6 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2069,8 +2069,8 @@ static inline void zero_resv_unavail(void) {}
#endif
extern void set_dma_reserve(unsigned long new_dma_reserve);
-extern void memmap_init_zone(unsigned long, int, unsigned long,
- unsigned long, enum memmap_context);
+extern void memmap_init_zone(unsigned long, int, unsigned long, unsigned long,
+ enum memmap_context, struct vmem_altmap *);
extern void setup_per_zone_wmarks(void);
extern int __meminit init_per_zone_wmark_min(void);
extern void mem_init(void);