]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
stub: Remove unnecessary asm cli call
authorJan Janssen <medhefgo@web.de>
Tue, 20 Sep 2022 07:27:27 +0000 (09:27 +0200)
committerJan Janssen <medhefgo@web.de>
Tue, 20 Sep 2022 10:55:43 +0000 (12:55 +0200)
Apparently, this is not needed when red zones are disabled and we do
that.

src/boot/efi/linux_x86.c

index fc007c3b8f01c021ac44df0e17901d29df918e08..2502ce94b9a39650c735856a92722f94183c4dcf 100644 (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