summaryrefslogtreecommitdiff
path: root/kexec/arch/ia64/kexec-elf-ia64.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/ia64/kexec-elf-ia64.c')
-rw-r--r--kexec/arch/ia64/kexec-elf-ia64.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/kexec/arch/ia64/kexec-elf-ia64.c b/kexec/arch/ia64/kexec-elf-ia64.c
index 5245223..71283c6 100644
--- a/kexec/arch/ia64/kexec-elf-ia64.c
+++ b/kexec/arch/ia64/kexec-elf-ia64.c
@@ -96,8 +96,7 @@ void elf_ia64_usage(void)
/* Move the crash kerenl physical offset to reserved region
*/
-void move_loaded_segments(struct kexec_info *info, struct mem_ehdr *ehdr,
- unsigned long addr)
+void move_loaded_segments(struct mem_ehdr *ehdr, unsigned long addr)
{
int i;
long offset;
@@ -198,8 +197,8 @@ int elf_ia64_load(int argc, char **argv, const char *buf, off_t len,
free_elf_info(&ehdr);
return -1;
}
- move_loaded_segments(info, &ehdr, mem_min);
- } else if (update_loaded_segments(info, &ehdr) < 0) {
+ move_loaded_segments(&ehdr, mem_min);
+ } else if (update_loaded_segments(&ehdr) < 0) {
fprintf(stderr, "Failed to place kernel\n");
return -1;
}