projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8e660
)
avr32: Use the generic bitops headers
author
Fabio Estevam
<fabio.estevam@freescale.com>
Thu, 5 Nov 2015 14:43:37 +0000
(12:43 -0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 5 Nov 2015 15:52:31 +0000
(10:52 -0500)
The generic bitops headers are required when calling logarithmic
functions, such as ilog2().
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/avr32/include/asm/bitops.h
patch
|
blob
|
history
diff --git
a/arch/avr32/include/asm/bitops.h
b/arch/avr32/include/asm/bitops.h
index 0ec678487de883cae1a7aaa0ad96963692cac83a..0d425c20f9bbc9bf648987a820595ebc573a28bd 100644
(file)
--- a/
arch/avr32/include/asm/bitops.h
+++ b/
arch/avr32/include/asm/bitops.h
@@
-6,4
+6,9
@@
#ifndef __ASM_AVR32_BITOPS_H
#define __ASM_AVR32_BITOPS_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_AVR32_BITOPS_H */