Skip to contentSkip to conversation

Include missing headers for asm-generic/sections.h

PATCH New Sean Anderson 2 participants 2 messages Dec 18, 2019 – Jan 16, 2020 Generic include/asm header files

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Include missing headers for asm-generic/sections.h

asm-generic/sections.h references ulong but does not include linux/types.h

---
 include/asm-generic/sections.h | 2 ++
 1 file changed, 2 insertions(+)
include/asm-generic/sections.h +2 -0
index 296c0cf9b8..17a31ec788 100644
@@ -8,6 +8,8 @@
 #ifndef _ASM_GENERIC_SECTIONS_H_
 #define _ASM_GENERIC_SECTIONS_H_
 
+#include <linux/types.h>
+
 /* References to section boundaries */
 
 extern char _text[], _stext[], _etext[];
Signature · 1 line
2.23.0
#1 lore raw

PATCH 1/1 Include missing headers for asm-generic/sections.h

Quoted 4 lines · Sean Anderson

asm-generic/sections.h references ulong but does not include linux/types.h

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200116/af770b38/attachment.sig>