From c4e2302ee602f81aa82df3cfe242615193bd65dd Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 20 Sep 2022 09:27:27 +0200 Subject: [PATCH] stub: Remove unnecessary asm cli call Apparently, this is not needed when red zones are disabled and we do that. --- src/boot/efi/linux_x86.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/boot/efi/linux_x86.c b/src/boot/efi/linux_x86.c index fc007c3b8f0..2502ce94b9a 100644 --- a/src/boot/efi/linux_x86.c +++ b/src/boot/efi/linux_x86.c @@ -106,7 +106,6 @@ static void linux_efi_handover(EFI_HANDLE image, uintptr_t kernel, BootParams *p kernel += (params->hdr.setup_sects + 1) * KERNEL_SECTOR_SIZE; /* 32bit entry address. */ #ifdef __x86_64__ - asm volatile("cli"); kernel += KERNEL_SECTOR_SIZE; /* 64bit entry address. */ #endif -- 2.47.3