summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/fsl_srio.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-11-05 12:43:40 -0200
committerTom Rini <trini@konsulko.com>2015-11-05 16:47:05 -0500
commit2d2f490dd594a9a3fcf3649f572e910771007962 (patch)
tree56c3aa67cae4dd85e681e437f931951c54ba15da /arch/powerpc/include/asm/fsl_srio.h
parentf8fdb81f6cbf9387fee7a8ab82b315798a7038ba (diff)
downloadblackbird-obmc-uboot-2d2f490dd594a9a3fcf3649f572e910771007962.tar.gz
blackbird-obmc-uboot-2d2f490dd594a9a3fcf3649f572e910771007962.zip
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> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'arch/powerpc/include/asm/fsl_srio.h')
-rw-r--r--arch/powerpc/include/asm/fsl_srio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/fsl_srio.h b/arch/powerpc/include/asm/fsl_srio.h
index e5aab2a71f..ec25e16829 100644
--- a/arch/powerpc/include/asm/fsl_srio.h
+++ b/arch/powerpc/include/asm/fsl_srio.h
@@ -7,6 +7,8 @@
#ifndef _FSL_SRIO_H_
#define _FSL_SRIO_H_
+#include <linux/log2.h>
+
enum atmu_size {
ATMU_SIZE_4K = 0xb,
ATMU_SIZE_8K,
OpenPOWER on IntegriCloud