diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2014-06-13 13:11:51 +0200 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-07-07 08:26:02 +0200 |
commit | a55c072dfe520f8fa03cf11b07b9268a8a17820a (patch) | |
tree | 21dc425c75a9ba98981e2c3ba5eaa5e9f47c4489 /arch | |
parent | efi-pstore: Fix an overflow on 32-bit builds (diff) | |
download | linux-a55c072dfe520f8fa03cf11b07b9268a8a17820a.tar.xz linux-a55c072dfe520f8fa03cf11b07b9268a8a17820a.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')
-rw-r--r-- | arch/arm64/kernel/efi-stub.c | 2 |
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 |