[U-Boot-Users] [PATCH v3] ppc: Added fls, fls64, __ilog2_u64, and ffs64 to bitops

Haavard Skinnemoen haavard.skinnemoen at atmel.com
Wed Jun 11 17:28:36 CEST 2008


Kumar Gala <galak at kernel.crashing.org> wrote:
> fls64, __ilog2_u64, ffs64 are variants that work on an u64 and fls
> is used to implement them.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> 
> Added comment about __ilog2(0) not being generally safe from Haavard Skinnemoen

Looks good. Thanks!

Haavard




More information about the U-Boot mailing list