]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
avr32: Use the generic bitops headers
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 5 Nov 2015 14:43:37 +0000 (12:43 -0200)
committerTom 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

index 0ec678487de883cae1a7aaa0ad96963692cac83a..0d425c20f9bbc9bf648987a820595ebc573a28bd 100644 (file)
@@ -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 */