s390/crash: remove unused parameter
Funciton loads_init() does not use loads_offset parameter. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
8d6be876bb
commit
4ff1261354
@ -498,7 +498,7 @@ static int get_mem_chunk_cnt(void)
|
||||
/*
|
||||
* Initialize ELF loads (new kernel)
|
||||
*/
|
||||
static void loads_init(Elf64_Phdr *phdr, u64 loads_offset)
|
||||
static void loads_init(Elf64_Phdr *phdr)
|
||||
{
|
||||
phys_addr_t start, end;
|
||||
u64 idx;
|
||||
@ -612,7 +612,7 @@ int elfcorehdr_alloc(unsigned long long *addr, unsigned long long *size)
|
||||
ptr = notes_init(phdr_notes, ptr, ((unsigned long) hdr) + hdr_off);
|
||||
/* Init loads */
|
||||
hdr_off = PTR_DIFF(ptr, hdr);
|
||||
loads_init(phdr_loads, hdr_off);
|
||||
loads_init(phdr_loads);
|
||||
*addr = (unsigned long long) hdr;
|
||||
*size = (unsigned long long) hdr_off;
|
||||
BUG_ON(elfcorehdr_size > alloc_size);
|
||||
|
Loading…
Reference in New Issue
Block a user