[FLS64]: generic version

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Stephen Hemminger 2005-12-21 19:30:53 -08:00 • committed by David S. Miller
commit 3821af2fe1
24 changed files with 33 additions and 1 deletions

View file

@ -345,6 +345,7 @@ fls (int t)
x |= x >> 16;
return ia64_popcnt(x);
}
#define fls64(x) generic_fls64(x)
/*
* ffs: find first bit set. This is defined the same way as the libc and compiler builtin