From: Vivek Goyal <[EMAIL PROTECTED]>
o Fix ppc64 compilation issues.
Signed-off-by: Vivek Goyal <[EMAIL PROTECTED]>
---
kexec/arch/ppc64/kexec-elf-ppc64.c | 6 +++---
1 files 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
{
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 @@ #define OPT_ARGS_IGNORE (OPT_ARCH_MAX+3
}
/* 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 @@ #define OPT_ARGS_IGNORE (OPT_ARCH_MAX+3
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
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot