]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 7 Jul 2014 06:26:02 +0000 (07:26 +0100)
commitfd19d4b8f755b0d80f6608ae5575d21eb1478ffe
tree21dc425c75a9ba98981e2c3ba5eaa5e9f47c4489
parent56d064fcf3bff9eea6ecc93d96f7f3eb6b32c211
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>
arch/arm64/kernel/efi-stub.c
drivers/firmware/efi/fdt.c