efi/libstub/x86: Fix EFI server boot failure
authorQian Cai <cai@lca.pw>
Wed, 22 Jan 2020 19:14:30 +0000 (14:14 -0500)
committerIngo Molnar <mingo@kernel.org>
Sat, 25 Jan 2020 09:14:36 +0000 (10:14 +0100)
commitcada0b6dbb8c07ab353d209437243bec8cc7c64a
treee948a272ce338bc93198b2275dabe0e503eab8af
parent0779221e7166c6865555bb6d29bf6af76fc316bd
efi/libstub/x86: Fix EFI server boot failure

x86_64 EFI systems are unable to boot due to a typo in a recent commit:

  EFI config tables not found.
   -- System halted

This was probably due to the absense of CONFIG_EFI_MIXED=y in testing.

Fixes: 796eb8d26a57 ("efi/libstub/x86: Use const attribute for efi_is_64bit()")
Signed-off-by: Qian Cai <cai@lca.pw>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: tglx@linutronix.de
Cc: linux-efi@vger.kernel.org
Link: https://lore.kernel.org/r/20200122191430.4888-1-cai@lca.pw
arch/x86/boot/compressed/eboot.c