mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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>
This commit is contained in:
parent
4ff1261354
commit
ecfe7f5328
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue