summaryrefslogtreecommitdiffstats
path: root/include/linux/pmem.h
diff options
context:
space:
mode:
authorRoss Zwisler2015-08-18 21:55:36 +0200
committerDan Williams2015-08-20 20:07:23 +0200
commit40603526569b304dd92f720f2f8ab11e828ea145 (patch)
tree0ab5b02bccc11c6162a6eacca2cfdd08fbc36ddd /include/linux/pmem.h
parentpmem: switch to devm_ allocations (diff)
downloadkernel-qcow2-linux-40603526569b304dd92f720f2f8ab11e828ea145.tar.gz
kernel-qcow2-linux-40603526569b304dd92f720f2f8ab11e828ea145.tar.xz
kernel-qcow2-linux-40603526569b304dd92f720f2f8ab11e828ea145.zip
pmem, x86: move x86 PMEM API to new pmem.h header
Move the x86 PMEM API implementation out of asm/cacheflush.h and into its own header asm/pmem.h. This will allow members of the PMEM API to be more easily identified on this and other architectures. Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> Suggested-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/pmem.h')
-rw-r--r--include/linux/pmem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pmem.h b/include/linux/pmem.h
index 20c367cd76e6..c2af613ec297 100644
--- a/include/linux/pmem.h
+++ b/include/linux/pmem.h
@@ -16,7 +16,7 @@
#include <linux/io.h>
#ifdef CONFIG_ARCH_HAS_PMEM_API
-#include <asm/cacheflush.h>
+#include <asm/pmem.h>
#else
static inline void arch_wmb_pmem(void)
{