summaryrefslogtreecommitdiff
path: root/kexec
diff options
context:
space:
mode:
Diffstat (limited to 'kexec')
-rw-r--r--kexec/arch/ia64/crashdump-ia64.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kexec/arch/ia64/crashdump-ia64.c b/kexec/arch/ia64/crashdump-ia64.c
index 82c95d0..4faecee 100644
--- a/kexec/arch/ia64/crashdump-ia64.c
+++ b/kexec/arch/ia64/crashdump-ia64.c
@@ -71,8 +71,7 @@ static int seg_comp(const void *a, const void *b)
/* purgatory code need this info to patch the EFI memmap
*/
-static void add_loaded_segments_info(struct kexec_info *info,
- struct mem_ehdr *ehdr, unsigned long max_addr)
+static void add_loaded_segments_info(struct mem_ehdr *ehdr)
{
int i;
for(i = 0; i < ehdr->e_phnum; i++) {
@@ -265,7 +264,7 @@ int load_crashdump_segments(struct kexec_info *info, struct mem_ehdr *ehdr,
loaded_segments_num++;
cmdline_add_elfcorehdr(cmdline, elfcorehdr);
}
- add_loaded_segments_info(info, ehdr, max_addr);
+ add_loaded_segments_info(ehdr);
size = sizeof(struct loaded_segment) * loaded_segments_num;
qsort(loaded_segments, loaded_segments_num,
sizeof(struct loaded_segment), seg_comp);