From ef582a79ce5eb735a8626e4bd4acff9f3c157f02 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sat, 24 Oct 2015 09:36:58 -0200 Subject: [PATCH] sh: bitops: Use the generic bitops headers The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini --- arch/microblaze/include/asm/bitops.h | 4 ++++ arch/sh/include/asm/bitops.h | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/arch/microblaze/include/asm/bitops.h b/arch/microblaze/include/asm/bitops.h index 0ac78d76f9..d24f2cf9d3 100644 --- a/arch/microblaze/include/asm/bitops.h +++ b/arch/microblaze/include/asm/bitops.h @@ -7,6 +7,10 @@ #include /* swab32 */ #include /* save_flags */ +#include +#include +#include +#include #ifdef __KERNEL__ /* diff --git a/arch/sh/include/asm/bitops.h b/arch/sh/include/asm/bitops.h index c57d628478..8cb8385d76 100644 --- a/arch/sh/include/asm/bitops.h +++ b/arch/sh/include/asm/bitops.h @@ -1,6 +1,11 @@ #ifndef __ASM_SH_BITOPS_H #define __ASM_SH_BITOPS_H +#include +#include +#include +#include + #ifdef __KERNEL__ #include /* For __swab32 */ -- 2.40.1