__fls() must always be provided, not only for aarch64, so remove unnecessary #ifdef. This didn't show up because nobody directly uses __fls() in barebox. Only aarch64 indirectly uses __fls() for implementing fls64(). Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/include/asm/bitops.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/include/asm/bitops.h b/arch/arm/include/asm/bitops.h index 344e288bae..cd356c5e3d 100644 --- a/arch/arm/include/asm/bitops.h +++ b/arch/arm/include/asm/bitops.h @@ -162,9 +162,7 @@ static inline int constant_fls(int x) #include <asm-generic/bitops/fls.h> #endif /* __ARM__USE_GENERIC_FF */ -#if __LINUX_ARM_ARCH__ == 8 #include <asm-generic/bitops/__fls.h> -#endif #include <asm-generic/bitops/fls64.h> -- 2.16.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox