add devm_memremap_pages
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Aug 2015 14:00:35 +0000 (16:00 +0200)
committerDan Williams <dan.j.williams@intel.com>
Thu, 27 Aug 2015 23:40:58 +0000 (19:40 -0400)
commit41e94a851304f7acac840adec4004f8aeee53ad4
treefe4c599d1263b7fdd92eb2838e5d223015066718
parent033fbae988fcb67e5077203512181890848b8e90
add devm_memremap_pages

This behaves like devm_memremap except that it ensures we have page
structures available that can back the region.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[djbw: catch attempts to remap RAM, drop flags]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
include/linux/io.h
kernel/memremap.c