diff options
author | Vivek Goyal <vgoyal@in.ibm.com> | 2006-09-21 14:51:38 -0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2006-10-06 12:46:16 +0900 |
commit | f11123aa03a7e8bfee165a56f7f1f6d8baa1d163 (patch) | |
tree | 44e41dab2f4da6a65241c0faf6b224725e9b4ec5 | |
parent | e55303a3c5dfea80e6a7543fac3fac36565912b0 (diff) |
kexec-tools: ia64 fix compilation issues due to new parameter
o Fix ia64 compilation issues.
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/arch/ia64/kexec-elf-ia64.c | 6 |
1 files 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, |