summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-09-20 18:23:42 -0400
committerAlexander Graf <agraf@suse.de>2017-09-21 09:04:25 +0200
commit7dd5d44753969167a6059405635bdb8b9d961fa1 (patch)
tree9eaac3e9708da8ef760ab5b1ea9bc98fea4e60e2 /cmd
parent7aca68ca06b8a96cb71f690e24f990281e402be8 (diff)
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bootefi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index e0a657323f..b7087e3da8 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;
}