aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/efi.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2014-10-20 16:41:38 +0200
committerKees Cook <keescook@google.com>2015-10-07 13:13:38 -0700
commit40ab942b678f76a27b74acb8e6ee27b4a5e33810 (patch)
tree5136273f965f5012d4d6c960a9bf49dbd638c511 /arch/arm64/include/asm/efi.h
parent375a38c212a0041e740a02137fb8b3ebf081395d (diff)
UPSTREAM: arm64/efi: remove idmap manipulations from UEFI code
Now that we have moved the call to SetVirtualAddressMap() to the stub, UEFI has no use for the ID map, so we can drop the code that installs ID mappings for UEFI memory regions. Acked-by: Leif Lindholm <leif.lindholm@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Tested-by: Leif Lindholm <leif.lindholm@linaro.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> (cherry picked from commit 9679be103108926cfe9e6fd2f6829cefa77e47b0) Signed-off-by: Tomasz Figa <tfiga@chromium.org> Bug: 24475017 Change-Id: I78c5d9d29ba6cee70bd12a44e3ac88a88891ec4b Signed-off-by: Kees Cook <keescook@google.com>
Diffstat (limited to 'arch/arm64/include/asm/efi.h')
-rw-r--r--arch/arm64/include/asm/efi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/efi.h b/arch/arm64/include/asm/efi.h
index effef3713c5a..7baf2cc04e1e 100644
--- a/arch/arm64/include/asm/efi.h
+++ b/arch/arm64/include/asm/efi.h
@@ -6,11 +6,9 @@
#ifdef CONFIG_EFI
extern void efi_init(void);
-extern void efi_idmap_init(void);
extern void efi_virtmap_init(void);
#else
#define efi_init()
-#define efi_idmap_init()
#define efi_virtmap_init()
#endif