diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-06-16 05:34:17 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-06-27 20:40:46 +0200 |
commit | ee8520fe8cd4cd2658ca555781eefeb4914c4ef9 (patch) | |
tree | bef946a586e0416b6b2df37ad3d41dc0d3769808 /tools/testing/nvdimm/Kbuild | |
parent | libnvdimm, pmem: allow nfit_test to override pmem_direct_access() (diff) | |
download | linux-ee8520fe8cd4cd2658ca555781eefeb4914c4ef9.tar.xz linux-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/Kbuild | 2 |
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 |