Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92df7e3
)
b=16777 16776
author
yury
<yury>
Fri, 19 Sep 2008 19:01:04 +0000
(19:01 +0000)
committer
yury
<yury>
Fri, 19 Sep 2008 19:01:04 +0000
(19:01 +0000)
r=shadow, adilger, vitaly, robert
- new clas_hash and using it for connections, held locks on server, etc
lustre/include/linux/lustre_compat25.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lustre_compat25.h
b/lustre/include/linux/lustre_compat25.h
index
398bb3e
..
b69ac48
100644
(file)
--- a/
lustre/include/linux/lustre_compat25.h
+++ b/
lustre/include/linux/lustre_compat25.h
@@
-622,5
+622,10
@@
static inline long labs(long x)
}
#endif
+/* Using kernel fls(). Userspace will use one defined in user-bitops.h. */
+#ifndef __fls
+#define __fls fls
+#endif
+
#endif /* __KERNEL__ */
#endif /* _COMPAT25_H */