diff --git a/drivers/firmware/efi/libstub/x86-stub.c b/drivers/firmware/efi/libstub/x86-stub.c index 7f3e97c2aad3..69a942f0640b 100644 --- a/drivers/firmware/efi/libstub/x86-stub.c +++ b/drivers/firmware/efi/libstub/x86-stub.c @@ -344,7 +344,8 @@ static void setup_graphics(struct boot_params *boot_params) static void __noreturn efi_exit(efi_handle_t handle, efi_status_t status) { efi_bs_call(exit, handle, status, 0, NULL); - unreachable(); + for(;;) + asm("hlt"); } void startup_32(struct boot_params *boot_params);