aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/compressed/efi-header.S
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-05-23 11:01:57 +0200
committerArd Biesheuvel <ardb@kernel.org>2020-05-23 11:01:57 +0200
commit6e99d3213b10ee18428d6d20715ad6c0e89ead4d (patch)
tree95b6b4177f0574cdfcb9e24b2ad86f25af2ca57c /arch/arm/boot/compressed/efi-header.S
parentefi/efivars: Add missing kobject_put() in sysfs entry creation error path (diff)
downloadlinux-dev-6e99d3213b10ee18428d6d20715ad6c0e89ead4d.tar.xz
linux-dev-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 'arch/arm/boot/compressed/efi-header.S')
-rw-r--r--arch/arm/boot/compressed/efi-header.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/compressed/efi-header.S b/arch/arm/boot/compressed/efi-header.S
index 62286da318e7..c0e7a745103e 100644
--- a/arch/arm/boot/compressed/efi-header.S
+++ b/arch/arm/boot/compressed/efi-header.S
@@ -60,7 +60,7 @@ optional_header:
.long __pecoff_code_size @ SizeOfCode
.long __pecoff_data_size @ SizeOfInitializedData
.long 0 @ SizeOfUninitializedData
- .long efi_entry - start @ AddressOfEntryPoint
+ .long efi_pe_entry - start @ AddressOfEntryPoint
.long start_offset @ BaseOfCode
.long __pecoff_data_start - start @ BaseOfData