[PATCH 15/17] memremap: drop private struct page_map

Dan Williams dan.j.williams at intel.com
Mon Dec 18 05:43:50 AEDT 2017


On Fri, Dec 15, 2017 at 6:09 AM, Christoph Hellwig <hch at lst.de> wrote:
> From: Logan Gunthorpe <logang at deltatee.com>
>
> '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 at deltatee.com>
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good,

Reviewed-by: Dan Williams <dan.j.williams at intel.com>


More information about the Linuxppc-dev mailing list