diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-05-23 11:01:57 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-23 11:01:57 +0200 |
commit | 6e99d3213b10ee18428d6d20715ad6c0e89ead4d (patch) | |
tree | 95b6b4177f0574cdfcb9e24b2ad86f25af2ca57c /drivers/firmware/efi/libstub/efistub.h | |
parent | efi/efivars: Add missing kobject_put() in sysfs entry creation error path (diff) | |
download | linux-6e99d3213b10ee18428d6d20715ad6c0e89ead4d.tar.xz linux-6e99d3213b10ee18428d6d20715ad6c0e89ead4d.zip |
efi/libstub: Add missing prototype for PE/COFF entry point
Fix a missing prototype warning by adding a forward declaration
for the PE/COFF entrypoint, and while at it, align the function
name between the x86 and ARM versions of the stub.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/efistub.h')
-rw-r--r-- | drivers/firmware/efi/libstub/efistub.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/firmware/efi/libstub/efistub.h b/drivers/firmware/efi/libstub/efistub.h index 1de8dc02529a..03f74608b963 100644 --- a/drivers/firmware/efi/libstub/efistub.h +++ b/drivers/firmware/efi/libstub/efistub.h @@ -40,6 +40,9 @@ extern bool efi_novamap; extern const efi_system_table_t *efi_system_table; +efi_status_t __efiapi efi_pe_entry(efi_handle_t handle, + efi_system_table_t *sys_table_arg); + #ifndef ARCH_HAS_EFISTUB_WRAPPERS #define efi_is_native() (true) |