]> git.dujemihanovic.xyz Git - u-boot.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)
commitfc872ee84cd5dd3a74bf51ce6519377b0de4940f
tree728ae66faf9f4463cad57cb5d0c13babd1dc5a28
parent1fcfadcb82a21af058baa5dea2b20883b8c388b8
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