From: Fabio Estevam Date: Thu, 5 Nov 2015 14:43:32 +0000 (-0200) Subject: openrisc: Use the generic bitops headers X-Git-Tag: v2016.01-rc1~98 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=85dfd700b6e52a271e52914f75094ef4ea5cd4fe;p=u-boot openrisc: Use the generic bitops headers The generic bitops headers are required when calling logarithmic functions, such as ilog2(). Signed-off-by: Fabio Estevam Reviewed-by: Jagan Teki --- 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)