efi/libstub/x86: Avoid getter function for efi_is64
authorArd Biesheuvel <ardb@kernel.org>
Thu, 16 Apr 2020 19:15:23 +0000 (21:15 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Fri, 24 Apr 2020 12:52:16 +0000 (14:52 +0200)
commit0a75561489f534cf2e8f6883e0cf8cdf51c534c5
tree28e2bc17e384387fe35bd8c1bd12899e8961a00c
parent980771f616624e4c563a2014a32b7d23876d1ecf
efi/libstub/x86: Avoid getter function for efi_is64

We no longer need to take special care when using global variables
in the EFI stub, so switch to a simple symbol reference for efi_is64.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/include/asm/efi.h
drivers/firmware/efi/libstub/x86-stub.c