summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/efi-stub.c
diff options
context:
space:
mode:
authorArd Biesheuvel2014-06-13 13:11:51 +0200
committerMatt Fleming2014-07-07 21:06:41 +0200
commitf49182ec8c685f4e89a50ba85ffe43b7f1e7b3e1 (patch)
tree075801e9e9695f2136d57a29e72f717b8203f5b9 /arch/arm64/kernel/efi-stub.c
parentx86/efi: Support initrd loaded above 4G (diff)
downloadkernel-qcow2-linux-f49182ec8c685f4e89a50ba85ffe43b7f1e7b3e1.tar.gz
kernel-qcow2-linux-f49182ec8c685f4e89a50ba85ffe43b7f1e7b3e1.tar.xz
kernel-qcow2-linux-f49182ec8c685f4e89a50ba85ffe43b7f1e7b3e1.zip
efi/arm64: efistub: remove local copy of linux_banner
The shared efistub code for ARM and arm64 contains a local copy of linux_banner, allowing it to be referenced from separate executables such as the ARM decompressor. However, this introduces a dependency on generated header files, causing unnecessary rebuilds of the stub itself and, in case of arm64, vmlinux which contains it. On arm64, the copy is not actually needed since we can reference the original symbol directly, and as it turns out, there may be better ways to deal with this for ARM as well, so let's remove it from the shared code. If it still needs to be reintroduced for ARM later, it should live under arch/arm anyway and not in shared code. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/arm64/kernel/efi-stub.c')
-rw-r--r--arch/arm64/kernel/efi-stub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/kernel/efi-stub.c b/arch/arm64/kernel/efi-stub.c
index 60e98a639ac5..e786e6cdc400 100644
--- a/arch/arm64/kernel/efi-stub.c
+++ b/arch/arm64/kernel/efi-stub.c
@@ -12,8 +12,6 @@
#include <linux/efi.h>
#include <linux/libfdt.h>
#include <asm/sections.h>
-#include <generated/compile.h>
-#include <generated/utsrelease.h>
/*
* AArch64 requires the DTB to be 8-byte aligned in the first 512MiB from