From: Fabio Estevam Date: Thu, 5 Nov 2015 14:43:36 +0000 (-0200) Subject: arc: Use the generic bitops headers X-Git-Tag: v2016.01-rc1~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d8e66079d90bf43e68742714a6c720189c4aec2;p=u-boot arc: Use the generic bitops headers The generic bitops headers are required when calling logarithmic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- diff --git a/arch/arc/include/asm/bitops.h b/arch/arc/include/asm/bitops.h index 85721aaee3..370cb46e9f 100644 --- a/arch/arc/include/asm/bitops.h +++ b/arch/arc/include/asm/bitops.h @@ -16,4 +16,9 @@ #define hweight16(x) generic_hweight16(x) #define hweight8(x) generic_hweight8(x) +#include +#include +#include +#include + #endif /* __ASM_ARC_BITOPS_H */