summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/image-vars.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-10-17 16:06:39 +0200
committerArd Biesheuvel <ardb@kernel.org>2022-11-09 12:42:01 +0100
commitaaeb3fc614d65ec5c0b838ed1afb59c3f0f04643 (patch)
treea22b7934b5f0065bab33a177b2c907108dc62ff2 /arch/arm64/kernel/image-vars.h
parentefi: libstub: Deduplicate ftrace command line argument filtering (diff)
downloadlinux-aaeb3fc614d65ec5c0b838ed1afb59c3f0f04643.tar.xz
linux-aaeb3fc614d65ec5c0b838ed1afb59c3f0f04643.zip
arm64: efi: Move dcache cleaning of loaded image out of efi_enter_kernel()
The efi_enter_kernel() routine will be shared between the existing EFI stub and the zboot decompressor, and the version of dcache_clean_to_poc() that the core kernel exports to the stub will not be available in the latter case. So move the handling into the .c file which will remain part of the stub build that integrates directly with the kernel proper. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/image-vars.h')
-rw-r--r--arch/arm64/kernel/image-vars.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm64/kernel/image-vars.h b/arch/arm64/kernel/image-vars.h
index 8151412653de..74d20835cf91 100644
--- a/arch/arm64/kernel/image-vars.h
+++ b/arch/arm64/kernel/image-vars.h
@@ -10,7 +10,6 @@
#error This file should only be included in vmlinux.lds.S
#endif
-PROVIDE(__efistub_kernel_size = _edata - _text);
PROVIDE(__efistub_primary_entry_offset = primary_entry - _text);
/*