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

sandbox: 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 avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
Reviewed-by: default avatarJagan Teki <jteki@openedev.com>
parent e6e7b7c0
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
#include <linux/compiler.h> #include <linux/compiler.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>
#ifdef __KERNEL__ #ifdef __KERNEL__
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment