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:
Rob Clark 2017-09-20 18:23:42 -04:00 committed by Alexander Graf
parent 7aca68ca06
commit 7dd5d44753

View File

@ -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;
}