From: Fabio Estevam Date: Thu, 5 Nov 2015 14:43:33 +0000 (-0200) Subject: nds32: Use the generic bitops headers X-Git-Tag: v2016.01-rc1~97 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d0a31232f59d12d24a41adee733ce357951a8b9f;p=u-boot nds32: 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/nds32/include/asm/bitops.h b/arch/nds32/include/asm/bitops.h index f1aa9a356b..7ee37c37bc 100644 --- a/arch/nds32/include/asm/bitops.h +++ b/arch/nds32/include/asm/bitops.h @@ -21,6 +21,10 @@ #ifdef __KERNEL__ #include +#include +#include +#include +#include #define smp_mb__before_clear_bit() do { } while (0) #define smp_mb__after_clear_bit() do { } while (0)