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

nios2: 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>
Acked-by: default avatarThomas Chou <thomas@wytron.com.tw>
Reviewed-by: default avatarJagan Teki <jteki@openedev.com>
parent d0a31232
Branches
Tags
No related merge requests found
...@@ -13,4 +13,9 @@ ...@@ -13,4 +13,9 @@
#include <asm/bitops/non-atomic.h> #include <asm/bitops/non-atomic.h>
#include <asm/bitops/ffs.h> #include <asm/bitops/ffs.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>
#endif /* __ASM_NIOS2_BITOPS_H */ #endif /* __ASM_NIOS2_BITOPS_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment