From: Rob Clark Date: Wed, 20 Sep 2017 22:23:42 +0000 (-0400) Subject: efi_loader: fix efi_exit X-Git-Tag: v2017.11-rc1~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7dd5d44753969167a6059405635bdb8b9d961fa1;p=platform%2Fkernel%2Fu-boot.git 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 Signed-off-by: Alexander Graf --- diff --git a/cmd/bootefi.c b/cmd/bootefi.c index e0a6573..b7087e3 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -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; }