The following commit has been merged in the master branch:
commit d43699173e0e5ee5650974fcff105b38105c0422
Author: Benjamin Kaduk <[email protected]>
Date: Wed Jan 14 15:05:35 2015 -0500
opr: implement the BSD ffs() functions
Provide opr implementations of ffs(), fls(), ffsll(), and flsll().
There is no need to provide the 'long' form, since int is 32 bits
and long long is 64 bits.
These functions return the index of the first (or last) bit set
in a given (long long) word, or zero if no bits are set.
Change-Id: I126000f8b650f41d67567a9af659e0805478af2d
Reviewed-on: http://gerrit.openafs.org/11671
Tested-by: BuildBot <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
Reviewed-by: Daria Brashear <[email protected]>
src/opr/Makefile.in | 4 ++
src/opr/NTMakefile | 1 +
src/opr/ffs.h | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 122 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs