pmem: convert to generic memremap
authorDan Williams <dan.j.williams@intel.com>
Wed, 12 Aug 2015 22:42:56 +0000 (18:42 -0400)
committerDan Williams <dan.j.williams@intel.com>
Fri, 14 Aug 2015 17:23:28 +0000 (13:23 -0400)
commite836a256e8fd579c9d7a3685f22981225a1ca451
tree4e593c8b96e0a46153af72780c6edd44dd6a2418
parent3103dc0304fd9c8ab576977cd98140d4fbac1730
pmem: convert to generic memremap

Kill arch_memremap_pmem() and just let the architecture specify the
flags to be passed to memremap().  Default to writethrough by default.

Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/x86/include/asm/io.h
include/linux/pmem.h
tools/testing/nvdimm/Kbuild
tools/testing/nvdimm/test/iomap.c