[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200122191430.4888-1-cai@lca.pw>
Date: Wed, 22 Jan 2020 14:14:30 -0500
From: Qian Cai <cai@....pw>
To: mingo@...hat.com
Cc: ardb@...nel.org, tglx@...utronix.de, linux-efi@...r.kernel.org,
linux-kernel@...r.kernel.org, Qian Cai <cai@....pw>
Subject: [PATCH -next] efi/libstub/x86: fix an EFI server boot failure
x86_64 EFI systems are unable to boot due to a typo in the recent commit.
EFI config tables not found.
-- System halted
Fixes: 796eb8d26a57 ("efi/libstub/x86: Use const attribute for efi_is_64bit()")
Signed-off-by: Qian Cai <cai@....pw>
---
arch/x86/boot/compressed/eboot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c
index 82e26d0ff075..287393d725f0 100644
--- a/arch/x86/boot/compressed/eboot.c
+++ b/arch/x86/boot/compressed/eboot.c
@@ -32,7 +32,7 @@ __attribute_const__ bool efi_is_64bit(void)
{
if (IS_ENABLED(CONFIG_EFI_MIXED))
return efi_is64;
- return IS_ENABLED(CONFIG_X64_64);
+ return IS_ENABLED(CONFIG_X86_64);
}
static efi_status_t
--
2.21.0 (Apple Git-122.2)
Powered by blists - more mailing lists