mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
nios2: Use the generic bitops headers
The generic bitops headers are required when calling logarithmic functions, such as ilog2(). Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Jagan Teki <jteki@openedev.com>
This commit is contained in:
parent
d0a31232f5
commit
7a2a091c4a
1 changed files with 5 additions and 0 deletions
|
|
@ -13,4 +13,9 @@
|
|||
#include <asm/bitops/non-atomic.h>
|
||||
#include <asm/bitops/ffs.h>
|
||||
|
||||
#include <asm-generic/bitops/fls.h>
|
||||
#include <asm-generic/bitops/__fls.h>
|
||||
#include <asm-generic/bitops/fls64.h>
|
||||
#include <asm-generic/bitops/__ffs.h>
|
||||
|
||||
#endif /* __ASM_NIOS2_BITOPS_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue