mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: include some headers from barebox-arm.h
@ 2015-01-13  9:36 Masahiro Yamada
  2015-01-14  6:16 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2015-01-13  9:36 UTC (permalink / raw)
  To: barebox

ENTRY_FUNCTION() references __barebox_arm_head(),
so <asm/barebox-arm-head.h> should be included from barebox-arm.h
to avoid implicit declaration warning/error.

ENTRY_FUNCTION() uses __naked, so <linux/compiler.h> should also be
included.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 arch/arm/include/asm/barebox-arm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h
index 9ad07cb..dbc8aaa 100644
--- a/arch/arm/include/asm/barebox-arm.h
+++ b/arch/arm/include/asm/barebox-arm.h
@@ -29,6 +29,8 @@
 #include <asm-generic/memory_layout.h>
 #include <linux/kernel.h>
 #include <linux/types.h>
+#include <linux/compiler.h>
+#include <asm/barebox-arm-head.h>
 
 /* cpu/.../cpu.c */
 int	cleanup_before_linux(void);
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-14  6:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-13  9:36 [PATCH] ARM: include some headers from barebox-arm.h Masahiro Yamada
2015-01-14  6:16 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox