diff options
author | Dan Williams <dan.j.williams@intel.com> | 2015-12-10 15:14:20 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-12-10 15:14:20 -0800 |
commit | 9f1e8cee7742cadbe6b97f2c80b787b4ee067bae (patch) | |
tree | 077abb728be88ea9f82a0d7288141e1d003e1a6f /drivers/nvdimm/nd.h | |
parent | 6bb691ac089c39bb0aa73bdcc21ffd8c846e4ba5 (diff) | |
download | linux-stable-9f1e8cee7742cadbe6b97f2c80b787b4ee067bae.tar.gz linux-stable-9f1e8cee7742cadbe6b97f2c80b787b4ee067bae.tar.bz2 linux-stable-9f1e8cee7742cadbe6b97f2c80b787b4ee067bae.zip |
libnvdimm, pfn: kill ND_PFN_ALIGN
The alignment constraint isn't necessary now that devm_memremap_pages()
allows for unaligned mappings.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/nd.h')
-rw-r--r-- | drivers/nvdimm/nd.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/nvdimm/nd.h b/drivers/nvdimm/nd.h index 417e521d299c..2ce428e9b584 100644 --- a/drivers/nvdimm/nd.h +++ b/drivers/nvdimm/nd.h @@ -29,13 +29,6 @@ enum { ND_MAX_LANES = 256, SECTOR_SHIFT = 9, INT_LBASIZE_ALIGNMENT = 64, -#if IS_ENABLED(CONFIG_NVDIMM_PFN) - ND_PFN_ALIGN = PAGES_PER_SECTION * PAGE_SIZE, - ND_PFN_MASK = ND_PFN_ALIGN - 1, -#else - ND_PFN_ALIGN = 0, - ND_PFN_MASK = 0, -#endif }; struct nvdimm_drvdata { |