From 2463ab5cc5d5e2bf3b377d813578c189bce5c55a Mon Sep 17 00:00:00 2001 From: yury Date: Fri, 19 Sep 2008 19:01:04 +0000 Subject: [PATCH] b=16777 16776 r=shadow, adilger, vitaly, robert - new clas_hash and using it for connections, held locks on server, etc --- lustre/include/linux/lustre_compat25.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lustre/include/linux/lustre_compat25.h b/lustre/include/linux/lustre_compat25.h index 398bb3e..b69ac48 100644 --- 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 */ -- 1.8.3.1