return r;
}
-static inline unsigned long __cfs_ffs(unsigned long word)
+static inline unsigned long __ffs(unsigned long word)
{
int num = 0;
* Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32.
*/
static inline
-int fls(int x)
+int __fls(int x)
{
int r = 32;
while (x < size) {
unsigned long val = *addr++;
if (val)
- return __cfs_ffs(val) + x;
+ return __ffs(val) + x;
x += (sizeof(*addr)<<3);
}
return x;