From: Fabio Estevam Date: Mon, 26 Oct 2015 15:10:15 +0000 (-0200) Subject: nds32: Use the generic bitops headers X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7611cdc17bf84a7dac8f19aa91645737a673657b;p=bsp%2Fu-boot.git nds32: 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/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)