From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Tue, 27 Oct 2015 10:52:15 +0800 Subject: [U-Boot] [PATCH v4 12/16] nios2: Use the generic bitops headers In-Reply-To: <1445875918-14777-12-git-send-email-fabio.estevam@freescale.com> References: <1445875918-14777-1-git-send-email-fabio.estevam@freescale.com> <1445875918-14777-12-git-send-email-fabio.estevam@freescale.com> Message-ID: <562EE6DF.20703@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, On 10/27/2015 12:11 AM, Fabio Estevam wrote: > 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/nios2/include/asm/bitops.h | 5 +++++ > 1 file changed, 5 insertions(+) > Acked-by: Thomas Chou Best regards, Thomas > diff --git a/arch/nios2/include/asm/bitops.h b/arch/nios2/include/asm/bitops.h > index 3e17964..ee46f37 100644 > --- a/arch/nios2/include/asm/bitops.h > +++ b/arch/nios2/include/asm/bitops.h > @@ -13,4 +13,9 @@ > #include > #include > > +#include > +#include > +#include > +#include > + > #endif /* __ASM_NIOS2_BITOPS_H */ >