Skip to content
Snippets Groups Projects
Commit b810aa1d authored by Fabio Estevam's avatar Fabio Estevam Committed by Tom Rini
Browse files

mips: Use the generic bitops headers


The generic bitops headers are required when calling logarithmic
functions, such as ilog2().

Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
parent 7a2a091c
Branches
Tags
No related merge requests found
...@@ -17,6 +17,11 @@ ...@@ -17,6 +17,11 @@
#include <asm/sgidefs.h> #include <asm/sgidefs.h>
#include <asm/system.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>
/* /*
* clear_bit() doesn't provide any barrier for the compiler. * clear_bit() doesn't provide any barrier for the compiler.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment