Module Name:    src
Committed By:   cegger
Date:           Fri May 14 05:32:06 UTC 2010

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

Log Message:
Move PMAP_KMPAGE to be used in pmap_kenter_pa flags argument.
'Looks good to me' gimpy@

Forgot to commit this piece in previous commit


To generate a diff of this commit:
cvs rdiff -u -r1.290 -r1.291 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.290 src/sys/uvm/uvm_map.c:1.291
--- src/sys/uvm/uvm_map.c:1.290	Sun Feb 21 13:17:50 2010
+++ src/sys/uvm/uvm_map.c	Fri May 14 05:32:06 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_map.c,v 1.290 2010/02/21 13:17:50 drochner Exp $	*/
+/*	$NetBSD: uvm_map.c,v 1.291 2010/05/14 05:32:06 cegger 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.290 2010/02/21 13:17:50 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.291 2010/05/14 05:32:06 cegger Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvmhist.h"
@@ -4729,7 +4729,7 @@
 	va = args.uma_start;
 
 	pmap_kenter_pa(va, VM_PAGE_TO_PHYS(pg),
-	    VM_PROT_READ|VM_PROT_WRITE|PMAP_KMPAGE, 0);
+	    VM_PROT_READ|VM_PROT_WRITE, PMAP_KMPAGE);
 	pmap_update(vm_map_pmap(map));
 
 #endif

Reply via email to