Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Move PMAP_KMPAGE to be used in pmap_kenter_pa flags ...



details:   https://anonhg.NetBSD.org/src/rev/b3049ab84730
branches:  trunk
changeset: 754842:b3049ab84730
user:      cegger <cegger%NetBSD.org@localhost>
date:      Fri May 14 05:32:06 2010 +0000

description:
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

diffstat:

 sys/uvm/uvm_map.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4ba13c0667cc -r b3049ab84730 sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Fri May 14 05:23:35 2010 +0000
+++ b/sys/uvm/uvm_map.c Fri May 14 05:32:06 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index