Commit 6250098655809b4e149d74bff50af86c6209ce8f
Committed by
Tom Rini
1 parent
960a63973b
Exists in
smarc_8mq_lf_v2020.04
and in
12 other branches
x86: Remove unused _relocate arguments
EFI image handle and system table are not used in _relocate(). Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
Showing 3 changed files with 2 additions and 7 deletions Side-by-side Diff
arch/x86/lib/crt0_x86_64_efi.S
arch/x86/lib/reloc_ia32_efi.c
... | ... | @@ -12,8 +12,7 @@ |
12 | 12 | #include <elf.h> |
13 | 13 | #include <asm/elf.h> |
14 | 14 | |
15 | -efi_status_t _relocate(long ldbase, Elf32_Dyn *dyn, efi_handle_t image, | |
16 | - struct efi_system_table *systab) | |
15 | +efi_status_t EFIAPI _relocate(long ldbase, Elf32_Dyn *dyn) | |
17 | 16 | { |
18 | 17 | long relsz = 0, relent = 0; |
19 | 18 | Elf32_Rel *rel = 0; |
arch/x86/lib/reloc_x86_64_efi.c
... | ... | @@ -14,8 +14,7 @@ |
14 | 14 | #include <elf.h> |
15 | 15 | #include <asm/elf.h> |
16 | 16 | |
17 | -efi_status_t _relocate(long ldbase, Elf64_Dyn *dyn, efi_handle_t image, | |
18 | - struct efi_system_table *systab) | |
17 | +efi_status_t EFIAPI _relocate(long ldbase, Elf64_Dyn *dyn) | |
19 | 18 | { |
20 | 19 | long relsz = 0, relent = 0; |
21 | 20 | Elf64_Rel *rel = 0; |