From 7287dd22c61a5083703250a21e68906d42017c89 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 11 Dec 1999 05:38:41 +0000 Subject: [PATCH] Remove a piece of code introduced in rev 1.36 that I didn't intend to commit. --- sys/uvm/uvm_mmap.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/sys/uvm/uvm_mmap.c b/sys/uvm/uvm_mmap.c index 86cabb79d21a..3f5a14b56c54 100644 --- a/sys/uvm/uvm_mmap.c +++ b/sys/uvm/uvm_mmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_mmap.c,v 1.36 1999/11/13 00:24:38 thorpej Exp $ */ +/* $NetBSD: uvm_mmap.c,v 1.37 1999/12/11 05:38:41 thorpej Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -1153,19 +1153,7 @@ uvm_mmap(map, addr, size, prot, maxprot, flags, handle, foff, locklimit) */ if (flags & MAP_ANON) { -#if 1 - /* - * Specify an offset of 0 so that uvm_map_findspace() via. - * uvm_map() will PMAP_PREFER the address for us. This - * prevents alias problems if the following occurs: - * - * - Anon region mapped. - * - File mapped over anon region (using MAP_FIXED). - */ - foff = 0; -#else foff = UVM_UNKNOWN_OFFSET; -#endif uobj = NULL; if ((flags & MAP_SHARED) == 0) /* XXX: defer amap create */