mm: move get_dev_pagemap out of line
authorChristoph Hellwig <hch@lst.de>
Fri, 29 Dec 2017 07:54:00 +0000 (08:54 +0100)
committerDan Williams <dan.j.williams@intel.com>
Mon, 8 Jan 2018 19:46:23 +0000 (11:46 -0800)
commit0822acb86cf340cd45b3af6436cec7e3bb24ebd2
treec6faf43ac3d78e1bd91334e9e94feb7d6b939c30
parenteb8045335c70ef8b272d2888a225b81344423139
mm: move get_dev_pagemap out of line

This is a pretty big function, which should be out of line in general,
and a no-op stub if CONFIG_ZONE_DEVICЕ is not set.

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