]> code.ossystems Code Review - bsp/u-boot.git/commit
x86: bitops: Use the generic bitops headers
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 23 Oct 2015 22:29:12 +0000 (20:29 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 28 Oct 2015 13:02:27 +0000 (11:02 -0200)
commit902775c46a42663f21ebe217c924f4fe08ee98d2
tree5bd3cb121af9b63209476b350af3fad89be06f3f
parent6ab6bf2fd7fbeb222a6cd676eced08f79352b962
x86: bitops: 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>
arch/x86/include/asm/bitops.h