efi/libstub: unify EFI call wrappers for non-x86
authorArd Biesheuvel <ardb@kernel.org>
Thu, 23 Apr 2020 11:44:50 +0000 (13:44 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 23 Apr 2020 18:15:06 +0000 (20:15 +0200)
commit22090f84bc3f8081e0ec180ccaedc85820085376
treea36be4ff759c615c3bc87f5de92dcce4789f4764
parentcf6b83664895a5c7e97710df282e220bd047f0f5
efi/libstub: unify EFI call wrappers for non-x86

We have wrappers around EFI calls so that x86 can define special
versions for mixed mode, while all other architectures can use the
same simple definition that just issues the call directly.
In preparation for the arrival of yet another architecture that doesn't
need anything special here (RISC-V), let's move the default definition
into a shared header.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/include/asm/efi.h
arch/arm64/include/asm/efi.h
drivers/firmware/efi/libstub/efistub.h