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
- make HEAD from b_post_cmd3
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
lustre_handles.h
diff --git
a/lustre/include/linux/lustre_handles.h
b/lustre/include/linux/lustre_handles.h
index
21eb047
..
166beb3
100644
(file)
--- a/
lustre/include/linux/lustre_handles.h
+++ b/
lustre/include/linux/lustre_handles.h
@@
-10,6
+10,16
@@
#include <asm/atomic.h>
#include <linux/list.h>
#include <linux/random.h>
#include <asm/atomic.h>
#include <linux/list.h>
#include <linux/random.h>
-#endif
+#include <linux/version.h>
+#include <linux/spinlock.h>
+#include <linux/types.h>
+
+# ifdef HAVE_RCU
+# include <linux/rcupdate.h> /* for rcu_head{} */
+# else
+struct rcu_head { };
+# endif
+
+#endif /* ifdef __KERNEL__ */
#endif
#endif