]> git.baikalelectronics.ru Git - uboot.git/commit
x86: fix longjmp() implementation
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 1 Oct 2022 13:00:21 +0000 (15:00 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 29 Oct 2022 13:36:33 +0000 (07:36 -0600)
commit66c0d3f5f8593aaea7783ae48c2f869d44811ab1
tree728ae66faf9f4463cad57cb5d0c13babd1dc5a28
parent6153bbbf6a733569c4700617efd917f9e6afab9d
x86: fix longjmp() implementation

If longjmp(jmp_buf env, int val) is called with val = 0, the setjmp()
macro must return 1.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/i386/setjmp.S