From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Mon, 26 Oct 2015 14:11:53 -0200 Subject: [U-Boot] [PATCH v4 11/16] nds32: Use the generic bitops headers In-Reply-To: <1445875918-14777-1-git-send-email-fabio.estevam@freescale.com> References: <1445875918-14777-1-git-send-email-fabio.estevam@freescale.com> Message-ID: <1445875918-14777-11-git-send-email-fabio.estevam@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The generic bitops headers are required when calling logarithimic functions, such as ilog2(). Signed-off-by: Fabio Estevam --- Changes since v3: - Newly introduced in this version 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 f1aa9a3..7ee37c3 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) -- 1.9.1