diff options
author | Simon Horman <horms@verge.net.au> | 2016-12-09 09:49:19 +0100 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2016-12-09 11:53:50 +0100 |
commit | a73747863c60094d8fa15b8f194c3b61947e6b29 (patch) | |
tree | ace0f6c6c88d6a9eef9ae62a66eb652a5bc15ffe | |
parent | a2451670230c5687ae6a6af0685f22c1659fb94a (diff) |
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 <horms@verge.net.au>
Reviewed-by: Pratyush Anand <panand@redhat.com>
-rw-r--r-- | kexec/arch/ia64/kexec-elf-rel-ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |