efi/libstub: Export efi_low_alloc_above() to other units
authorArd Biesheuvel <ardb@kernel.org>
Wed, 9 Sep 2020 13:16:20 +0000 (16:16 +0300)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 16 Sep 2020 15:54:59 +0000 (18:54 +0300)
commit1a895dbf4b66456bfb7da646cc9b1be3e24f4a1d
tree293481b0b54f2cb9465d9614af92b2317f1fac15
parent6208857b8f7ebdfe84e1be7573be4552a5896a0d
efi/libstub: Export efi_low_alloc_above() to other units

Permit arm32-stub.c to access efi_low_alloc_above() in a subsequent
patch by giving it external linkage and declaring it in efistub.h.

Reviewed-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Tested-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/efistub.h
drivers/firmware/efi/libstub/relocate.c