On Friday 09 December 2016 02:19 PM, Simon Horman wrote: > The ehdr parameter of machine_apply_elf_rel() is used. > This resolves a build regression. > > Cc: Anton Blanchard <anton at samba.org> > Cc: Dave Young <dyoung at redhat.com> > Fixes: 4a2ae3a39c64 ("Pass struct mem_sym into machine_apply_elf_rel()") > Signed-off-by: Simon Horman <horms at verge.net.au> > --- > 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 f847626b2508..7f7c08cba4b1 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) > { > Reviewed-by: Pratyush Anand <panand at redhat.com>