efi/arm64: efistub: remove local copy of linux_banner
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 13 Jun 2014 11:11:51 +0000 (13:11 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 24 Jul 2014 21:58:42 +0000 (22:58 +0100)
commit05b1bec982086a35aed6c77909bfc9c063dca2d6
tree0fa98011c5da3617d16132aa5103ccb359d83c32
parentcc6c39407e2008fc7f439efddaad220e3d849885
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>
(cherry picked from commit a55c072dfe520f8fa03cf11b07b9268a8a17820a)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/efi-stub.c
drivers/firmware/efi/fdt.c