From f9bfea42f73810c6302d96acf86cc76622bb5364 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 26 Oct 2015 13:08:17 -0200 Subject: [PATCH] openrisc: Use the generic bitops headers The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- arch/openrisc/include/asm/bitops.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/openrisc/include/asm/bitops.h b/arch/openrisc/include/asm/bitops.h index 6d0b57c014..28c4658672 100644 --- a/arch/openrisc/include/asm/bitops.h +++ b/arch/openrisc/include/asm/bitops.h @@ -12,6 +12,10 @@ #define PLATFORM_FFS #include +#include +#include +#include + #define hweight32(x) generic_hweight32(x) #define hweight16(x) generic_hweight16(x) #define hweight8(x) generic_hweight8(x) -- 2.40.1