[PATCH v2 4/9] add devm_memremap_pages

2015-08-25 Thread Dan Williams
From: Christoph Hellwig This behaves like devm_memremap except that it ensures we have page structures available that can back the region. Signed-off-by: Christoph Hellwig [djbw: catch attempts to remap RAM, drop flags] Signed-off-by: Dan Williams --- include/linux/io.h | 20

[PATCH v2 4/9] add devm_memremap_pages

2015-08-25 Thread Dan Williams
From: Christoph Hellwig h...@lst.de This behaves like devm_memremap except that it ensures we have page structures available that can back the region. Signed-off-by: Christoph Hellwig h...@lst.de [djbw: catch attempts to remap RAM, drop flags] Signed-off-by: Dan Williams dan.j.willi...@intel.com