projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d6be87
)
s390/crash: remove unused parameter
author
Alexander Gordeev
<agordeev@linux.ibm.com>
Sun, 1 Oct 2023 08:09:34 +0000
(10:09 +0200)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Mon, 16 Oct 2023 11:04:09 +0000
(13:04 +0200)
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>
arch/s390/kernel/crash_dump.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/crash_dump.c
b/arch/s390/kernel/crash_dump.c
index 7af69948b290a79d695f3c145e97b84d606c0820..237c5a9199d95e209247c3e5d299347dd3ae138a 100644
(file)
--- a/
arch/s390/kernel/crash_dump.c
+++ b/
arch/s390/kernel/crash_dump.c
@@
-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);