This commit was manufactured by cvs2svn to create tag 'FreeBSD-release/1.0'.
[unix-history] / sys / vm / vm_map.c
index b7a36e0..74f3b1f 100644 (file)
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     @(#)vm_map.c    7.3 (Berkeley) 4/21/91
- *
- *
+ *     from: @(#)vm_map.c      7.3 (Berkeley) 4/21/91
+ *     $Id$
+ */
+
+/*
  * Copyright (c) 1987, 1990 Carnegie-Mellon University.
  * All rights reserved.
  *
  * Copyright (c) 1987, 1990 Carnegie-Mellon University.
  * All rights reserved.
  *
  *
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
  *
  * any improvements or extensions that they make and grant Carnegie the
  * rights to redistribute these changes.
- *
- * PATCHES MAGIC                LEVEL   PATCH THAT GOT US HERE
- * --------------------         -----   ----------------------
- * CURRENT PATCH LEVEL:         1       00137
- * --------------------         -----   ----------------------
- *
- * 08 Apr 93   Yuval Yarom             Several VM system fixes
  */
 
 /*
  *     Virtual memory mapping module.
  */
 
  */
 
 /*
  *     Virtual memory mapping module.
  */
 
+#include "ddb.h"
 #include "param.h"
 #include "param.h"
+#include "systm.h"
 #include "malloc.h"
 #include "vm.h"
 #include "vm_page.h"
 #include "malloc.h"
 #include "vm.h"
 #include "vm_page.h"
@@ -2410,6 +2407,7 @@ void vm_map_simplify(map, start)
        vm_map_unlock(map);
 }
 
        vm_map_unlock(map);
 }
 
+#if defined(DEBUG) || (NDDB > 0)
 /*
  *     vm_map_print:   [ debug ]
  */
 /*
  *     vm_map_print:   [ debug ]
  */
@@ -2479,3 +2477,4 @@ void vm_map_print(map, full)
        }
        indent -= 2;
 }
        }
        indent -= 2;
 }
+#endif /* defined(DEBUG) || (NDDB > 0) */