mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08: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
@ -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 New Issue
Block a user