summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/pmem.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-12-15 00:34:21 -0800
committerDan Williams <dan.j.williams@intel.com>2015-12-15 00:34:21 -0800
commit979fccfb7348dbd968daf0249aa484a0297f83df (patch)
tree76cb63d09fefff94740d5c0154c83783ee78c3de /drivers/nvdimm/pmem.c
parent2dc43331e34fa992a67f42ed44e5111cafafd6f3 (diff)
downloadblackbird-op-linux-979fccfb7348dbd968daf0249aa484a0297f83df.tar.gz
blackbird-op-linux-979fccfb7348dbd968daf0249aa484a0297f83df.zip
libnvdimm, pfn: enable pfn sysfs interface unit testing
The unit test infrastructure uses CMA and real memory to emulate nvdimm resources. The call to devm_memremap_pages() can simply be mocked in the same manner as memremap and we mock phys_to_pfn_t() to clear PFN_MAP since these resources are not registered with in the pgmap_radix. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/pmem.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud