summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-11-05 12:43:27 -0200
committerTom Rini <trini@konsulko.com>2015-11-05 10:52:06 -0500
commit9b0e3fd1c85b2adb9d85ef2d95aa70d0012d2f38 (patch)
tree08f27e28caca189174ab0b6f28ad1c7674e3ae0d /arch
parentd67154523cb4e7d356e82615631f943d09aba647 (diff)
downloadtalos-obmc-uboot-9b0e3fd1c85b2adb9d85ef2d95aa70d0012d2f38.tar.gz
talos-obmc-uboot-9b0e3fd1c85b2adb9d85ef2d95aa70d0012d2f38.zip
blackfin: Use the generic bitops headers
The generic bitops headers are required when calling logarithmic functions, such as ilog2(). 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')
-rw-r--r--arch/blackfin/include/asm/bitops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h
index cd7e356459..6cde6dbfde 100644
--- a/arch/blackfin/include/asm/bitops.h
+++ b/arch/blackfin/include/asm/bitops.h
@@ -15,6 +15,10 @@
#include <asm/byteorder.h>
#include <asm/system.h>
+#include <asm-generic/bitops/fls.h>
+#include <asm-generic/bitops/__fls.h>
+#include <asm-generic/bitops/fls64.h>
+#include <asm-generic/bitops/__ffs.h>
#ifdef __KERNEL__
/*
OpenPOWER on IntegriCloud