From 7a2a091c4ad81a5c298ef958809a5e1ca260a21c Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Thu, 5 Nov 2015 12:43:34 -0200 Subject: [PATCH] nios2: Use the generic bitops headers The generic bitops headers are required when calling logarithmic functions, such as ilog2(). Signed-off-by: Fabio Estevam Acked-by: Thomas Chou Reviewed-by: Jagan Teki --- arch/nios2/include/asm/bitops.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/nios2/include/asm/bitops.h b/arch/nios2/include/asm/bitops.h index 3e17964f25..ee46f3722c 100644 --- a/arch/nios2/include/asm/bitops.h +++ b/arch/nios2/include/asm/bitops.h @@ -13,4 +13,9 @@ #include #include +#include +#include +#include +#include + #endif /* __ASM_NIOS2_BITOPS_H */ -- 2.39.5