HomeFreeBSD

Add BIT_FLS() analogous to BIT_FFS().

Description

Add BIT_FLS() analogous to BIT_FFS().

The benefit of BIT_FLS() is that ffsl() can be implemented with a
count leading zeros instruction which is more widespread available.

Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS320754: Update copyright e-mail address to @FreeBSD.org address
Branches
Unknown
Tags
Unknown