The Linux <linux/math64.h> depends on __always_inline being defined prior. Fix this at our side now to avoid a build failure when using it to replace <asm-generic/div64.h> later on. Fixes: f933da28cf3f ("include: <linux/math64.h>: sync with upstream") Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- v1 -> v2: - new patch -- include/linux/math64.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/math64.h b/include/linux/math64.h index e8b737e70e50..8537c0412d09 100644 --- a/include/linux/math64.h +++ b/include/linux/math64.h @@ -3,6 +3,7 @@ #define _LINUX_MATH64_H #include <linux/types.h> +#include <linux/compiler.h> #include <asm-generic/div64.h> #if BITS_PER_LONG == 64 -- 2.29.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox