Re: [PATCH 0/8] <asm/setjmp.h>: Don't use __noreturn without header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 17, 2021 at 11:46:35AM +0100, Ahmad Fatoum wrote:
> __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

Applied, thanks

Sascha

> 
>  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@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux