[PATCH 0/8] <asm/setjmp.h>: Don't use __noreturn without header
Ahmad Fatoum
ahmad at a3f.at
Wed Mar 17 10:46:35 GMT 2021
__noreturn is defined in <linux/compiler.h>, which isn't included in
every <asm/setjmp>, so arm32 that uses setjmp outside of bthreads fails
to build. In order to keep changes to a minimum, just replace
__noreturn with __attribute__((noreturn))
Tested on:
arm32, aarch64, mipsel, mips, riscv32, riscv64
Ahmad Fatoum (8):
fixup! ARM: asm: setjmp: implement coroutine dependency initjmp()
fixup! kvx: Implement setjmp/longjmp/initjmp
fixup! mips: Implement setjmp/longjmp/initjmp for 32BIT
fixup! openrisc: Implement setjmp/longjmp/initjmp
fixup! powerpc: Implement initjmp/setjmp/longjmp
fixup! riscv: Implement setjmp/longjmp/initjmp for RV32I
fixup! sandbox: asm: implement setjmp/longjmp/initjmp
fixup! x86: implement setjmp/longjmp/initjmp
arch/arm/include/asm/setjmp.h | 2 +-
arch/kvx/include/asm/setjmp.h | 2 +-
arch/mips/include/asm/setjmp.h | 2 +-
arch/openrisc/include/asm/setjmp.h | 2 +-
arch/powerpc/include/asm/setjmp.h | 2 +-
arch/riscv/include/asm/setjmp.h | 2 +-
arch/sandbox/include/asm/setjmp.h | 2 +-
arch/x86/include/asm/setjmp.h | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
--
2.30.0
More information about the barebox
mailing list