summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@in.ibm.com>2006-09-21 14:51:23 -0400
committerSimon Horman <horms@verge.net.au>2006-10-06 12:46:16 +0900
commite787462138f92f7d2c8b694b1c27a9e68f88fdeb (patch)
treecb7961a07a7cd307dfdd588eadcd55072e184299
parent11c261bd942ee34e95289a5226abb2e87122cb5d (diff)
kexec-tools: ppc fix compilation issues due to new parameter
o Fix ppc 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/ppc/kexec-elf-ppc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexec/arch/ppc/kexec-elf-ppc.c b/kexec/arch/ppc/kexec-elf-ppc.c
index 0e6888e..e5e5ebd 100644
--- a/kexec/arch/ppc/kexec-elf-ppc.c
+++ b/kexec/arch/ppc/kexec-elf-ppc.c
@@ -72,7 +72,7 @@ int elf_ppc_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;
}
@@ -180,7 +180,7 @@ int elf_ppc_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;