From e55303a3c5dfea80e6a7543fac3fac36565912b0 Mon Sep 17 00:00:00 2001 From: Vivek Goyal Date: Thu, 21 Sep 2006 14:51:31 -0400 Subject: kexec-tools: ppc64 fix compilation issues due to new parameter o Fix ppc64 compilation issues. Signed-off-by: Vivek Goyal Signed-off-by: Simon Horman --- kexec/arch/ppc64/kexec-elf-ppc64.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kexec/arch/ppc64/kexec-elf-ppc64.c b/kexec/arch/ppc64/kexec-elf-ppc64.c index cfdd76a..944df79 100644 --- a/kexec/arch/ppc64/kexec-elf-ppc64.c +++ b/kexec/arch/ppc64/kexec-elf-ppc64.c @@ -52,7 +52,7 @@ int elf_ppc64_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) { goto out; } @@ -163,7 +163,7 @@ int elf_ppc64_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) { free_elf_info(&ehdr); return result; @@ -213,7 +213,7 @@ int elf_ppc64_load(int argc, char **argv, const char *buf, off_t len, memcpy(seg_buf, purgatory, purgatory_size); seg_size = purgatory_size; elf_rel_build_load(info, &info->rhdr, (const char *)purgatory, - purgatory_size, 0, max_addr, 1); + purgatory_size, 0, max_addr, 1, 0); /* Add a ram-disk to the current image * Note: Add the ramdisk after elf_rel_build_load -- cgit