diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-01-13 20:36:58 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-06-27 16:29:54 -0700 |
commit | ca6a4657e5420dec727256717e905ebc3c751352 (patch) | |
tree | 40f80396f70137197e7b2e2e04a1fa3dd522d022 /drivers/nvdimm/pmem.h | |
parent | f2b612578e163b49661ece2fe01dfafb0e78f545 (diff) | |
download | linux-stable-ca6a4657e5420dec727256717e905ebc3c751352.tar.gz linux-stable-ca6a4657e5420dec727256717e905ebc3c751352.tar.bz2 linux-stable-ca6a4657e5420dec727256717e905ebc3c751352.zip |
x86, libnvdimm, pmem: remove global pmem api
Now that all callers of the pmem api have been converted to dax helpers that
call back to the pmem driver, we can remove include/linux/pmem.h and
asm/pmem.h.
Cc: <x86@kernel.org>
Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Toshi Kani <toshi.kani@hpe.com>
Cc: Oliver O'Halloran <oohall@gmail.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/pmem.h')
-rw-r--r-- | drivers/nvdimm/pmem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvdimm/pmem.h b/drivers/nvdimm/pmem.h index 00005900c1b7..fce248a1fc87 100644 --- a/drivers/nvdimm/pmem.h +++ b/drivers/nvdimm/pmem.h @@ -6,9 +6,11 @@ #include <linux/fs.h> #ifdef CONFIG_ARCH_HAS_PMEM_API +#define ARCH_MEMREMAP_PMEM MEMREMAP_WB void arch_wb_cache_pmem(void *addr, size_t size); void arch_invalidate_pmem(void *addr, size_t size); #else +#define ARCH_MEMREMAP_PMEM MEMREMAP_WT static inline void arch_wb_cache_pmem(void *addr, size_t size) { } |