From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Mon, 2 Nov 2015 21:38:35 -0200 Subject: [U-Boot] [PATCH v5 07/18] sh: bitops: Use the generic bitops headers In-Reply-To: <1446507526-7789-1-git-send-email-festevam@gmail.com> References: <1446507526-7789-1-git-send-email-festevam@gmail.com> Message-ID: <1446507526-7789-7-git-send-email-festevam@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Fabio Estevam The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini Reviewed-by: Heiko Schocher --- Changes since v4: - None arch/sh/include/asm/bitops.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/sh/include/asm/bitops.h b/arch/sh/include/asm/bitops.h index c57d628..8cb8385 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 */ -- 1.9.1