[PATCH 3/8] fixup! mips: Implement setjmp/longjmp/initjmp for 32BIT
Ahmad Fatoum
ahmad at a3f.at
Wed Mar 17 10:46:38 GMT 2021
Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
arch/mips/include/asm/setjmp.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/include/asm/setjmp.h b/arch/mips/include/asm/setjmp.h
index 5a9af7773a5f..81f4d4c15f6d 100644
--- a/arch/mips/include/asm/setjmp.h
+++ b/arch/mips/include/asm/setjmp.h
@@ -27,6 +27,6 @@ typedef struct __jmp_buf_internal_tag {
int setjmp(jmp_buf jmp) __attribute__((returns_twice));
void longjmp(jmp_buf jmp, int ret) __attribute__((noreturn));
-int initjmp(jmp_buf jmp, void __noreturn (*func)(void), void *stack_top);
+int initjmp(jmp_buf jmp, void __attribute__((noreturn)) (*func)(void), void *stack_top);
#endif /* _MIPS_BITS_SETJMP_H */
--
2.30.0
More information about the barebox
mailing list