Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
include
/
linux
/
crush
/
hash.h
diff --git
a/kernel/include/linux/crush/hash.h
b/kernel/include/linux/crush/hash.h
index
91e8842
..
d1d9025
100644
(file)
--- a/
kernel/include/linux/crush/hash.h
+++ b/
kernel/include/linux/crush/hash.h
@@
-1,6
+1,12
@@
#ifndef CEPH_CRUSH_HASH_H
#define CEPH_CRUSH_HASH_H
+#ifdef __KERNEL__
+# include <linux/types.h>
+#else
+# include "crush_compat.h"
+#endif
+
#define CRUSH_HASH_RJENKINS1 0
#define CRUSH_HASH_DEFAULT CRUSH_HASH_RJENKINS1