[PATCH 1/9] sandbox: asm: support inclusion from sandbox os support code

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Nov 25 07:35:15 PST 2024


This will be needed in a later commit, when we start using it without
including normal barebox headers.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/sandbox/include/asm/setjmp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/sandbox/include/asm/setjmp.h b/arch/sandbox/include/asm/setjmp.h
index a300758c3d6c..dcc3b4e86712 100644
--- a/arch/sandbox/include/asm/setjmp.h
+++ b/arch/sandbox/include/asm/setjmp.h
@@ -4,7 +4,7 @@
 #define __SETJMP_H_
 
 struct jmp_buf_data {
-	unsigned char opaque[512] __aligned(16);
+	unsigned char opaque[512] __attribute__((__aligned__(16)));
 };
 
 typedef struct jmp_buf_data jmp_buf[1];
-- 
2.39.5




More information about the barebox mailing list