]> Zhao Yanbai Git Server - minix.git/commitdiff
vm: remove assert, map in of phys addr 0 is legit sometimes.
authorBen Gras <ben@minix3.org>
Tue, 13 Apr 2010 10:39:46 +0000 (10:39 +0000)
committerBen Gras <ben@minix3.org>
Tue, 13 Apr 2010 10:39:46 +0000 (10:39 +0000)
servers/vm/region.c

index b3f2b35650bbd1a8b64ca0847b07375561b92002..fc60025b8e721216702af0677785288ed0e67ed7 100644 (file)
@@ -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));