From: Ben Gras Date: Tue, 12 May 2009 11:36:15 +0000 (+0000) Subject: remove bogus arch_map2vir calls X-Git-Tag: v3.1.4~39 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/Bv9ARM.ch05.html?a=commitdiff_plain;h=f9e81cb57b63ed28ba554d89c355b1c168ce303e;p=minix.git remove bogus arch_map2vir calls --- diff --git a/servers/vm/region.c b/servers/vm/region.c index 34a2dfcb3..e327c455a 100644 --- a/servers/vm/region.c +++ b/servers/vm/region.c @@ -60,10 +60,9 @@ struct vmproc *vmp; for(vr = vmp->vm_regions; vr; vr = vr->next) { struct phys_region *ph; int nph = 0; - printf("\t0x%lx - 0x%lx (len 0x%lx), proc 0x%lx-0x%lx: %s\n", + printf("\t0x%lx - 0x%lx (len 0x%lx), %s\n", vr->vaddr, vr->vaddr + vr->length, vr->length, - arch_map2vir(vmp, vr->vaddr), - arch_map2vir(vmp, vr->vaddr + vr->length), map_name(vr)); + vr->vaddr + vr->length, map_name(vr)); printf("\t\tphysical: "); for(ph = vr->first; ph; ph = ph->next) { printf("0x%lx-0x%lx (refs %d): phys 0x%lx ",