]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
memremap: drop private struct page_map
authorLogan Gunthorpe <logang@deltatee.com>
Fri, 29 Dec 2017 07:54:04 +0000 (08:54 +0100)
committerDan Williams <dan.j.williams@intel.com>
Mon, 8 Jan 2018 19:46:23 +0000 (11:46 -0800)
commite7744aa25cffe26d3767c9ffcf4e130cca1dff00
tree357b10bcfa854ed7b4e74fb55f64ae349b11efce
parent7003e3b1f64d0195ea9d31aed0b096ad38f3cb54
memremap: drop private struct page_map

'struct page_map' is a private structure of 'struct dev_pagemap' but the
latter replicates all the same fields as the former so there isn't much
value in it. Thus drop it in favour of a completely public struct.

This is a clean up in preperation for a more generally useful
'devm_memeremap_pages' interface.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
include/linux/memremap.h
kernel/memremap.c
mm/hmm.c