efi_loader: fix efi_exit
PATCH 1/1 efi_loader: fix efi_exit
efi_exit() already restores gd, so we shouldn't EFI_EXIT() on the otherside of the longjmp().
Signed-off-by Rob Clark <[email protected]>
--- cmd/bootefi.c | 1 - 1 file changed, 1 deletion(-)
cmd/bootefi.c +0 -1
@@ -191,7 +191,6 @@ static unsigned long do_bootefi_exec(void *efi, void *fdt,if (setjmp (&loaded_image_info.exit_jmp)) { ret = loaded_image_info.exit_status; -EFI_EXIT (ret); goto exit; }
Signature · 1 line
2.13.5
Alexander Graf
AppliedQuoted 4 lines
efi_exit()already restores gd, so we shouldn'tEFI_EXIT()on the otherside of thelongjmp().Signed-off-by Rob Clark <[email protected]>
Thanks, applied to efi-next
Alex