From 6fad23f500aa5f21f56159ee33a7c55471d598d6 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 12 May 2009 11:35:49 +0000 Subject: [PATCH] don't call this function with a bogus addr (done by region.c print code) --- servers/vm/i386/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/vm/i386/vm.c b/servers/vm/i386/vm.c index ccf2e569a..1f55874cf 100644 --- a/servers/vm/i386/vm.c +++ b/servers/vm/i386/vm.c @@ -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; } -- 2.44.0