diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-06-03 21:06:47 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-07-12 22:25:38 -0400 |
commit | 7a9eb20666317794d0279843fbd091af93907780 (patch) | |
tree | 022accc57a56ee2988f29fe718546b0f1ec5dca0 /include/linux/compiler.h | |
parent | 7c8a6a71904d57ae5fb24140f9661ec22ca9ee85 (diff) |
pmem: kill __pmem address space
The __pmem address space was meant to annotate codepaths that touch
persistent memory and need to coordinate a call to wmb_pmem(). Now that
wmb_pmem() is gone, there is little need to keep this annotation.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r-- | include/linux/compiler.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 793c0829e3a3..b966974938ed 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -17,7 +17,6 @@ | |||
17 | # define __release(x) __context__(x,-1) | 17 | # define __release(x) __context__(x,-1) |
18 | # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) | 18 | # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) |
19 | # define __percpu __attribute__((noderef, address_space(3))) | 19 | # define __percpu __attribute__((noderef, address_space(3))) |
20 | # define __pmem __attribute__((noderef, address_space(5))) | ||
21 | #ifdef CONFIG_SPARSE_RCU_POINTER | 20 | #ifdef CONFIG_SPARSE_RCU_POINTER |
22 | # define __rcu __attribute__((noderef, address_space(4))) | 21 | # define __rcu __attribute__((noderef, address_space(4))) |
23 | #else /* CONFIG_SPARSE_RCU_POINTER */ | 22 | #else /* CONFIG_SPARSE_RCU_POINTER */ |
@@ -45,7 +44,6 @@ extern void __chk_io_ptr(const volatile void __iomem *); | |||
45 | # define __cond_lock(x,c) (c) | 44 | # define __cond_lock(x,c) (c) |
46 | # define __percpu | 45 | # define __percpu |
47 | # define __rcu | 46 | # define __rcu |
48 | # define __pmem | ||
49 | # define __private | 47 | # define __private |
50 | # define ACCESS_PRIVATE(p, member) ((p)->member) | 48 | # define ACCESS_PRIVATE(p, member) ((p)->member) |
51 | #endif /* __CHECKER__ */ | 49 | #endif /* __CHECKER__ */ |