From 7611cdc17bf84a7dac8f19aa91645737a673657b Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Mon, 26 Oct 2015 13:10:15 -0200 Subject: [PATCH] nds32: Use the generic bitops headers The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- arch/nds32/include/asm/bitops.h | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.40.1