From f11123aa03a7e8bfee165a56f7f1f6d8baa1d163 Mon Sep 17 00:00:00 2001 From: Vivek Goyal Date: Thu, 21 Sep 2006 14:51:38 -0400 Subject: kexec-tools: ia64 fix compilation issues due to new parameter o Fix ia64 compilation issues. Signed-off-by: Vivek Goyal Signed-off-by: Simon Horman --- kexec/arch/ia64/kexec-elf-ia64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kexec/arch/ia64/kexec-elf-ia64.c b/kexec/arch/ia64/kexec-elf-ia64.c index ab0f72a..349c812 100644 --- a/kexec/arch/ia64/kexec-elf-ia64.c +++ b/kexec/arch/ia64/kexec-elf-ia64.c @@ -56,7 +56,7 @@ int elf_ia64_probe(const char *buf, off_t len) { struct mem_ehdr ehdr; int result; - result = build_elf_exec_info(buf, len, &ehdr); + result = build_elf_exec_info(buf, len, &ehdr, 0); if (result < 0) { if (probe_debug) { fprintf(stderr, "Not an ELF executable\n"); @@ -162,7 +162,7 @@ int elf_ia64_load(int argc, char **argv, const char *buf, off_t len, } /* Parse the Elf file */ - result = build_elf_exec_info(buf, len, &ehdr); + result = build_elf_exec_info(buf, len, &ehdr, 0); if (result < 0) { fprintf(stderr, "ELF parse failed\n"); free_elf_info(&ehdr); @@ -191,7 +191,7 @@ int elf_ia64_load(int argc, char **argv, const char *buf, off_t len, /* Load the setup code */ elf_rel_build_load(info, &info->rhdr, purgatory, purgatory_size, - 0x0, ULONG_MAX, -1); + 0x0, ULONG_MAX, -1, 0); if (load_crashdump_segments(info, &ehdr, max_addr, 0, -- cgit