stub: Remove unnecessary asm cli call

Apparently, this is not needed when red zones are disabled and we do
that.
This commit is contained in:
Jan Janssen
2022-09-20 12:55:43 +02:00
parent 09173c916c
commit c4e2302ee6
-1
View File
@@ -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