[PATCH v2 1/4] include: <linux/math64.h>: include header for __always_inline definition
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
Date: 2021-02-18 09:35:54
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
Date: 2021-02-18 09:35:54
Subsystem:
the rest · Maintainer:
Linus Torvalds
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@pengutronix.de>
---
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox