riscv: simplify longjmp
The value returned by setjmp must be nonzero. If zero is passed as parameter it must be replaced by 1. This patch reduces the code size a bit. Signed-off-by:Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Sean Anderson <seanga2@gmail.com> Reviewed-by:
Leo Yu-Chi Liang <ycliang@andestech.com>
Loading
Please register or sign in to comment