From: Fabio Estevam Date: Mon, 26 Oct 2015 15:08:17 +0000 (-0200) Subject: openrisc: Use the generic bitops headers X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f9bfea42f73810c6302d96acf86cc76622bb5364;p=bsp%2Fu-boot.git openrisc: Use the generic bitops headers The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- 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)