Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72771
b: refs/heads/master
c: 8292366
h: refs/heads/master
i:
  72769: c885f93
  72767: 28e14e1
v: v3
  • Loading branch information
Ralf Baechle committed Oct 29, 2007
1 parent 8d6b2c7 commit 8256a8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6e86b0bf0bd997aad4a5f67b1cba90db11ade6e3
refs/heads/master: 82923663419d376b6c418d353231efb3f7c2b878
4 changes: 2 additions & 2 deletions trunk/arch/mips/kernel/vpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -942,8 +942,8 @@ static int vpe_elfload(struct vpe * v)
if (phdr->p_type != PT_LOAD)
continue;

memcpy((void *)phdr->p_vaddr, (char *)hdr + phdr->p_offset, phdr->p_filesz);
memset((void *)phdr->p_vaddr + phdr->p_filesz, 0, phdr->p_memsz - phdr->p_filesz);
memcpy((void *)phdr->p_paddr, (char *)hdr + phdr->p_offset, phdr->p_filesz);
memset((void *)phdr->p_paddr + phdr->p_filesz, 0, phdr->p_memsz - phdr->p_filesz);
phdr++;
}

Expand Down

0 comments on commit 8256a8d

Please sign in to comment.