]> git.sur5r.net Git - u-boot/commit
x86: Use the generic bitops headers
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 5 Nov 2015 14:43:25 +0000 (12:43 -0200)
committerTom Rini <trini@konsulko.com>
Thu, 5 Nov 2015 15:52:01 +0000 (10:52 -0500)
commit6c2f758cee266f764828b05fb7811ee3d4a7adec
tree079273084d10c568cf1adc8f13604fac924e59fc
parent56adb7b30862f1abc2111132376fdb93da6a7563
x86: Use the generic bitops headers

Use the generic bitops and also add custom __ffs() implementation
as per the kernel.

Also align the ffs() implementation with the kernel.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/x86/include/asm/bitops.h