projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff1261
)
s390/crash: fix virtual vs physical address confusion
author
Alexander Gordeev
<agordeev@linux.ibm.com>
Sun, 1 Oct 2023 08:01:31 +0000
(10:01 +0200)
committer
Vasily Gorbik
<gor@linux.ibm.com>
Mon, 16 Oct 2023 11:04:09 +0000
(13:04 +0200)
Fix virtual vs physical address confusion (which currently are the same).
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 237c5a9199d95e209247c3e5d299347dd3ae138a..514feadd4c588b2d76acdb41aa3a9019001c679b 100644
(file)
--- a/
arch/s390/kernel/crash_dump.c
+++ b/
arch/s390/kernel/crash_dump.c
@@
-507,7
+507,7
@@
static void loads_init(Elf64_Phdr *phdr)
phdr->p_filesz = end - start;
phdr->p_type = PT_LOAD;
phdr->p_offset = start;
- phdr->p_vaddr =
start
;
+ phdr->p_vaddr =
(unsigned long)__va(start)
;
phdr->p_paddr = start;
phdr->p_memsz = end - start;
phdr->p_flags = PF_R | PF_W | PF_X;