mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-01 10:41:49 +02:00
microblaze: 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>
This commit is contained in:
parent
f86411b18d
commit
e6e7b7c0ab
@ -7,6 +7,10 @@
|
|||||||
|
|
||||||
#include <asm/byteorder.h> /* swab32 */
|
#include <asm/byteorder.h> /* swab32 */
|
||||||
#include <asm/system.h> /* save_flags */
|
#include <asm/system.h> /* save_flags */
|
||||||
|
#include <asm-generic/bitops/fls.h>
|
||||||
|
#include <asm-generic/bitops/__fls.h>
|
||||||
|
#include <asm-generic/bitops/fls64.h>
|
||||||
|
#include <asm-generic/bitops/__ffs.h>
|
||||||
|
|
||||||
#ifdef __KERNEL__
|
#ifdef __KERNEL__
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user