]> Zhao Yanbai Git Server - minix.git/commitdiff
don't call this function with a bogus addr (done by region.c print code)
authorBen Gras <ben@minix3.org>
Tue, 12 May 2009 11:35:49 +0000 (11:35 +0000)
committerBen Gras <ben@minix3.org>
Tue, 12 May 2009 11:35:49 +0000 (11:35 +0000)
servers/vm/i386/vm.c

index ccf2e569ae49d7821b41357a2f2faf3c62173abe..1f55874cf4b3a6e2345ba189de20efed135f0be5 100644 (file)
@@ -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;
 }