From: Vivek Goyal <[EMAIL PROTECTED]>

o Fix ia64 compilation issues.

Signed-off-by: Vivek Goyal <[EMAIL PROTECTED]>
---

 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_
 {
        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 @@ #define OPT_NOIO    (OPT_ARCH_MAX+2)
        }
 
        /* 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 @@ #define OPT_NOIO    (OPT_ARCH_MAX+2)
 
        /* 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,
_______________________________________________
fastboot mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/fastboot

Reply via email to