summaryrefslogtreecommitdiff
path: root/kexec/arch/ia64/kexec-elf-rel-ia64.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/ia64/kexec-elf-rel-ia64.c')
-rw-r--r--kexec/arch/ia64/kexec-elf-rel-ia64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kexec/arch/ia64/kexec-elf-rel-ia64.c b/kexec/arch/ia64/kexec-elf-rel-ia64.c
index cfb1061..f847626 100644
--- a/kexec/arch/ia64/kexec-elf-rel-ia64.c
+++ b/kexec/arch/ia64/kexec-elf-rel-ia64.c
@@ -72,8 +72,9 @@ bundle (const uint64_t insn)
return insn & ~0xfUL;
}
-void machine_apply_elf_rel(struct mem_ehdr *ehdr, unsigned long r_type,
- void *location, unsigned long address, unsigned long value)
+void machine_apply_elf_rel(struct mem_ehdr *UNUSED(ehdr),
+ struct mem_sym *UNUSED(sym), unsigned long r_type, void *location,
+ unsigned long address, unsigned long value)
{
uint64_t gp_value = ehdr->rel_addr + 0x200000;
switch(r_type) {