Add __constant_flsl(), because it's useful for finding out the next
authorMichael Brown <mcb30@etherboot.org>
Mon, 24 Apr 2006 23:00:32 +0000 (23:00 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 24 Apr 2006 23:00:32 +0000 (23:00 +0000)
commit2f0d412210676d27eabd747741b1974ba9cef072
tree2e0bf3212f8413bbc3e599048f44137299a76b5d
parenta81f96998beaf44a9d7ca0a887c650c878aeddeb
Add __constant_flsl(), because it's useful for finding out the next
power-of-two up from a given constant via
  ( 1 << fls ( constant - 1 ) )

fls(), flsl(), ffs() and ffsl() appear in strings.h according to
POSIX.
src/include/strings.h [new file with mode: 0644]