don't call this function with a bogus addr (done by region.c print code)
This commit is contained in:
parent
e3ca89c0be
commit
6fad23f500
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ PUBLIC vir_bytes arch_map2vir(struct vmproc *vmp, vir_bytes addr)
|
|||
{
|
||||
vir_bytes bottom = CLICK2ABS(vmp->vm_arch.vm_seg[D].mem_phys);
|
||||
|
||||
/* vm_assert(bottom <= addr); */
|
||||
vm_assert(bottom <= addr);
|
||||
|
||||
return addr - bottom;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue