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 <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
7aca68ca06
commit
7dd5d44753
@ -190,7 +190,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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user