diff options
author | Christoph Hellwig | 2017-12-29 08:53:56 +0100 |
---|---|---|
committer | Dan Williams | 2018-01-08 20:46:23 +0100 |
commit | 24b6d4164348370c6b6a58b4248babd85ff9e982 (patch) | |
tree | 7e89dc93eec8c743b2cbe2236255e8a1cde14833 /arch/s390/mm/vmem.c | |
parent | mm: pass the vmem_altmap to arch_remove_memory and __remove_pages (diff) | |
download | kernel-qcow2-linux-24b6d4164348370c6b6a58b4248babd85ff9e982.tar.gz kernel-qcow2-linux-24b6d4164348370c6b6a58b4248babd85ff9e982.tar.xz kernel-qcow2-linux-24b6d4164348370c6b6a58b4248babd85ff9e982.zip |
mm: pass the vmem_altmap to vmemmap_free
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>
Diffstat (limited to 'arch/s390/mm/vmem.c')
-rw-r--r-- | arch/s390/mm/vmem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/mm/vmem.c b/arch/s390/mm/vmem.c index c44ef0e7c466..db55561c5981 100644 --- a/arch/s390/mm/vmem.c +++ b/arch/s390/mm/vmem.c @@ -297,7 +297,8 @@ out: return ret; } -void vmemmap_free(unsigned long start, unsigned long end) +void vmemmap_free(unsigned long start, unsigned long end, + struct vmem_altmap *altmap) { } |