summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2015-11-05 12:43:27 -0200
committerTom Rini <[email protected]>2015-11-05 10:52:06 -0500
commit9b0e3fd1c85b2adb9d85ef2d95aa70d0012d2f38 (patch)
tree08f27e28caca189174ab0b6f28ad1c7674e3ae0d
parentd67154523cb4e7d356e82615631f943d09aba647 (diff)
blackfin: Use the generic bitops headers
The generic bitops headers are required when calling logarithmic functions, such as ilog2(). Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Reviewed-by: Jagan Teki <[email protected]>
-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 cd7e3564595..6cde6dbfdef 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__
/*