From a73747863c60094d8fa15b8f194c3b61947e6b29 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Fri, 9 Dec 2016 09:49:19 +0100 Subject: ia64: ehdr is not UNUSED in machine_apply_elf_rel The ehdr parameter of machine_apply_elf_rel() is used. This resolves a build regression. Fixes: 4a2ae3a39c64 ("Pass struct mem_sym into machine_apply_elf_rel()") Signed-off-by: Simon Horman Reviewed-by: Pratyush Anand --- kexec/arch/ia64/kexec-elf-rel-ia64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kexec/arch/ia64/kexec-elf-rel-ia64.c b/kexec/arch/ia64/kexec-elf-rel-ia64.c index f847626..7f7c08c 100644 --- a/kexec/arch/ia64/kexec-elf-rel-ia64.c +++ b/kexec/arch/ia64/kexec-elf-rel-ia64.c @@ -72,7 +72,7 @@ bundle (const uint64_t insn) return insn & ~0xfUL; } -void machine_apply_elf_rel(struct mem_ehdr *UNUSED(ehdr), +void machine_apply_elf_rel(struct mem_ehdr *ehdr, struct mem_sym *UNUSED(sym), unsigned long r_type, void *location, unsigned long address, unsigned long value) { -- cgit