diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-10-01 10:01:31 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-10-16 13:04:09 +0200 |
commit | ecfe7f53286748bca0ef1646a45f428b915b0916 (patch) | |
tree | 0ffee654b2950e4a054ffb7565fc4f2268b469e7 /arch/s390/kernel | |
parent | 4ff1261354d33caf7b2aa1f47db00deef27863ad (diff) | |
download | linux-stable-ecfe7f53286748bca0ef1646a45f428b915b0916.tar.gz linux-stable-ecfe7f53286748bca0ef1646a45f428b915b0916.tar.bz2 linux-stable-ecfe7f53286748bca0ef1646a45f428b915b0916.zip |
s390/crash: fix virtual vs physical address confusion
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>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r-- | arch/s390/kernel/crash_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/crash_dump.c b/arch/s390/kernel/crash_dump.c index 237c5a9199d9..514feadd4c58 100644 --- 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; |