summaryrefslogtreecommitdiffstats
path: root/tools/testing/nvdimm/Kbuild
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-08-12 18:42:56 -0400
committerDan Williams <dan.j.williams@intel.com>2015-08-14 13:23:28 -0400
commite836a256e8fd579c9d7a3685f22981225a1ca451 (patch)
tree4e593c8b96e0a46153af72780c6edd44dd6a2418 /tools/testing/nvdimm/Kbuild
parent3103dc0304fd9c8ab576977cd98140d4fbac1730 (diff)
downloadlinux-e836a256e8fd579c9d7a3685f22981225a1ca451.tar.bz2
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>
Diffstat (limited to 'tools/testing/nvdimm/Kbuild')
-rw-r--r--tools/testing/nvdimm/Kbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/nvdimm/Kbuild b/tools/testing/nvdimm/Kbuild
index f56914c7929b..8032a49f7873 100644
--- a/tools/testing/nvdimm/Kbuild
+++ b/tools/testing/nvdimm/Kbuild
@@ -1,7 +1,7 @@
-ldflags-y += --wrap=ioremap_wt
ldflags-y += --wrap=ioremap_wc
ldflags-y += --wrap=devm_ioremap_nocache
-ldflags-y += --wrap=ioremap_cache
+ldflags-y += --wrap=memremap
+ldflags-y += --wrap=memunmap
ldflags-y += --wrap=ioremap_nocache
ldflags-y += --wrap=iounmap
ldflags-y += --wrap=__request_region