Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-11089 obdclass: remove locking from lu_context_exit()
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_compat.h
diff --git
a/lustre/include/lustre_compat.h
b/lustre/include/lustre_compat.h
index
f951411
..
4ea091a
100644
(file)
--- a/
lustre/include/lustre_compat.h
+++ b/
lustre/include/lustre_compat.h
@@
-698,6
+698,10
@@
static inline struct timespec current_time(struct inode *inode)
#define alloc_workqueue(name, flags, max_active) create_workqueue(name)
#endif
+#ifndef smp_store_mb
+#define smp_store_mb(var, value) set_mb(var, value)
+#endif
+
#ifndef READ_ONCE
#define READ_ONCE ACCESS_ONCE
#endif