[PATCH kexec-tools] ia64: ehdr is not UNUSED in machine_apply_elf_rel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
 {
-- 
2.7.0.rc3.207.g0ac5344




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux