Module Name:    src
Committed By:   matt
Date:           Wed Aug 19 04:53:21 UTC 2009

Modified Files:
        src/sys/uvm: uvm_map.c

Log Message:
In uvm_kmapent_alloc, Make sure entry is initialized.
Spotted by msaitoh.


To generate a diff of this commit:
cvs rdiff -u -r1.280 -r1.281 src/sys/uvm/uvm_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_map.c
diff -u src/sys/uvm/uvm_map.c:1.280 src/sys/uvm/uvm_map.c:1.281
--- src/sys/uvm/uvm_map.c:1.280	Tue Aug 18 19:16:09 2009
+++ src/sys/uvm/uvm_map.c	Wed Aug 19 04:53:20 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_map.c,v 1.280 2009/08/18 19:16:09 thorpej Exp $	*/
+/*	$NetBSD: uvm_map.c,v 1.281 2009/08/19 04:53:20 matt Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.280 2009/08/18 19:16:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.281 2009/08/19 04:53:20 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvmhist.h"
@@ -4655,9 +4655,7 @@
 	KASSERT(vm_map_pmap(map) == pmap_kernel());
 
 	UVMMAP_EVCNT_INCR(uke_alloc);
-#ifndef PMAP_MAP_POOLPAGE
 	entry = NULL;
-#endif
 again:
 	/*
 	 * try to grab an entry from freelist.

Reply via email to