]> code.ossystems Code Review - bsp/u-boot.git/commit
powerpc: Remove __ilog2_u64 and ffs4 from bitops
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 24 Oct 2015 15:09:00 +0000 (13:09 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 28 Oct 2015 13:02:27 +0000 (11:02 -0200)
commit3f150e4b1c17b9fc71884690bc903b44c1db9836
tree5facedc9bd9d2a7fe020472003e785bcad25f796
parent2feb00c60593eada7381fdaedb63832c4cc8add1
powerpc: Remove __ilog2_u64 and ffs4 from bitops

Remove __ilog2_u64 and ffs4 from powerpc bitops to align with the
kernel implementation.

Use the generic __ffs64 instead of a custom powerpc implementation.

Cc: York Sun <yorksun@freescale.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/powerpc/cpu/mpc83xx/law.c
arch/powerpc/cpu/mpc85xx/tlb.c
arch/powerpc/cpu/mpc8xxx/law.c
arch/powerpc/include/asm/bitops.h
arch/powerpc/include/asm/fsl_law.h
arch/powerpc/include/asm/fsl_srio.h