]> 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 19:06:41 +0000 (20:06 +0100)
commitdef3d256851850e63be4f109c13de398314b89cb
tree075801e9e9695f2136d57a29e72f717b8203f5b9
parent036a13154d9df85c3e24abc8466849d99bf3f3e0
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