From: Ben Gras Date: Tue, 13 Apr 2010 10:39:46 +0000 (+0000) Subject: vm: remove assert, map in of phys addr 0 is legit sometimes. X-Git-Tag: v3.1.7~151 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=5f7c37bb847b2f2dee6646cfa0136b990c921551;p=minix.git vm: remove assert, map in of phys addr 0 is legit sometimes. --- diff --git a/servers/vm/region.c b/servers/vm/region.c index b3f2b3565..fc60025b8 100644 --- a/servers/vm/region.c +++ b/servers/vm/region.c @@ -407,7 +407,6 @@ USE(newregion, /* If we know what we're going to map to, map it right away. */ if(what != MAP_NONE) { - assert(what); /* mapping in 0 is unlikely to be right */ assert(!(what % VM_PAGE_SIZE)); assert(!(startv % VM_PAGE_SIZE)); assert(!(mapflags & MF_PREALLOC));