]> www.infradead.org Git - users/jedix/linux-maple.git/commit
add devm_memremap_pages
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Aug 2015 14:00:35 +0000 (16:00 +0200)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:19:29 +0000 (12:19 -0500)
commitdf1a17c5159592968a47686d996fa5802a456ace
treea2e1c5369ee7b60dd054ec0babd9171e949855cd
parent4c19087016e36a5f8d8be09ff1213ef7f8f57903
add devm_memremap_pages

Orabug: 22913653

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>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
(cherry picked from commit 41e94a851304f7acac840adec4004f8aeee53ad4)

Conflict:

include/linux/io.h
include/linux/io.h
kernel/memremap.c