summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-04-23 13:44:50 +0200
committerArd Biesheuvel <ardb@kernel.org>2020-04-23 20:15:06 +0200
commit22090f84bc3f8081e0ec180ccaedc85820085376 (patch)
treea36be4ff759c615c3bc87f5de92dcce4789f4764 /arch/arm
parentcf6b83664895a5c7e97710df282e220bd047f0f5 (diff)
downloadlinux-22090f84bc3f8081e0ec180ccaedc85820085376.tar.gz
linux-22090f84bc3f8081e0ec180ccaedc85820085376.tar.xz
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/efi.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/include/asm/efi.h b/arch/arm/include/asm/efi.h
index 5ac46e2860bc..9383f236e795 100644
--- a/arch/arm/include/asm/efi.h
+++ b/arch/arm/include/asm/efi.h
@@ -50,14 +50,6 @@ void efi_virtmap_unload(void);
/* arch specific definitions used by the stub code */
-#define efi_bs_call(func, ...) efi_system_table()->boottime->func(__VA_ARGS__)
-#define efi_rt_call(func, ...) efi_system_table()->runtime->func(__VA_ARGS__)
-#define efi_is_native() (true)
-
-#define efi_table_attr(inst, attr) (inst->attr)
-
-#define efi_call_proto(inst, func, ...) inst->func(inst, ##__VA_ARGS__)
-
struct screen_info *alloc_screen_info(void);
void free_screen_info(struct screen_info *si);