mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/8] <asm/setjmp.h>: Don't use __noreturn without header
@ 2021-03-17 10:46 Ahmad Fatoum
  2021-03-17 10:46 ` [PATCH 1/8] fixup! ARM: asm: setjmp: implement coroutine dependency initjmp() Ahmad Fatoum
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Ahmad Fatoum @ 2021-03-17 10:46 UTC (permalink / raw)
  To: barebox; +Cc: rcz, Ahmad Fatoum

__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


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


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

end of thread, other threads:[~2021-03-17 10:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-17 10:46 [PATCH 0/8] <asm/setjmp.h>: Don't use __noreturn without header Ahmad Fatoum
2021-03-17 10:46 ` [PATCH 1/8] fixup! ARM: asm: setjmp: implement coroutine dependency initjmp() Ahmad Fatoum
2021-03-17 10:46 ` [PATCH 2/8] fixup! kvx: Implement setjmp/longjmp/initjmp Ahmad Fatoum
2021-03-17 10:46 ` [PATCH 3/8] fixup! mips: Implement setjmp/longjmp/initjmp for 32BIT Ahmad Fatoum
2021-03-17 10:46 ` [PATCH 4/8] fixup! openrisc: Implement setjmp/longjmp/initjmp Ahmad Fatoum
2021-03-17 10:46 ` [PATCH 5/8] fixup! powerpc: Implement initjmp/setjmp/longjmp Ahmad Fatoum
2021-03-17 10:46 ` [PATCH 6/8] fixup! riscv: Implement setjmp/longjmp/initjmp for RV32I Ahmad Fatoum
2021-03-17 10:46 ` [PATCH 7/8] fixup! sandbox: asm: implement setjmp/longjmp/initjmp Ahmad Fatoum
2021-03-17 10:46 ` [PATCH 8/8] fixup! x86: " Ahmad Fatoum
2021-03-17 10:56 ` [PATCH 0/8] <asm/setjmp.h>: Don't use __noreturn without header Sascha Hauer

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