summaryrefslogtreecommitdiff
path: root/tools/testing/nvdimm/Kbuild
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-06-15 20:34:17 -0700
committerDan Williams <dan.j.williams@intel.com>2016-06-27 11:40:46 -0700
commitee8520fe8cd4cd2658ca555781eefeb4914c4ef9 (patch)
treebef946a586e0416b6b2df37ad3d41dc0d3769808 /tools/testing/nvdimm/Kbuild
parentf295e53b60eb93ee53ed5ac610374ed293caa57b (diff)
downloadlwn-ee8520fe8cd4cd2658ca555781eefeb4914c4ef9.tar.gz
lwn-ee8520fe8cd4cd2658ca555781eefeb4914c4ef9.zip
tools/testing/nvdimm: replace CONFIG_DMA_CMA dependency with vmalloc()
DMA_CMA is incompatible with SWIOTLB used in enterprise distro configurations. Switch to vmalloc() allocations for all resources. Acked-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing/nvdimm/Kbuild')
-rw-r--r--tools/testing/nvdimm/Kbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/nvdimm/Kbuild b/tools/testing/nvdimm/Kbuild
index 4adfa9cdf26f..62d5ac3c988e 100644
--- a/tools/testing/nvdimm/Kbuild
+++ b/tools/testing/nvdimm/Kbuild
@@ -11,6 +11,8 @@ ldflags-y += --wrap=__devm_release_region
ldflags-y += --wrap=__request_region
ldflags-y += --wrap=__release_region
ldflags-y += --wrap=devm_memremap_pages
+ldflags-y += --wrap=insert_resource
+ldflags-y += --wrap=remove_resource
DRIVERS := ../../../drivers
NVDIMM_SRC := $(DRIVERS)/nvdimm