Module Name:    src
Committed By:   jmcneill
Date:           Tue Aug 23 00:52:33 UTC 2011

Modified Files:
        src/sys/arch/usermode/usermode: pmap.c

Log Message:
pmap_enter: fix pmap_do_enter parameters


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/usermode/usermode/pmap.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/arch/usermode/usermode/pmap.c
diff -u src/sys/arch/usermode/usermode/pmap.c:1.12 src/sys/arch/usermode/usermode/pmap.c:1.13
--- src/sys/arch/usermode/usermode/pmap.c:1.12	Mon Aug 22 21:59:09 2011
+++ src/sys/arch/usermode/usermode/pmap.c	Tue Aug 23 00:52:33 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.12 2011/08/22 21:59:09 reinoud Exp $ */
+/* $NetBSD: pmap.c,v 1.13 2011/08/23 00:52:33 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <rein...@netbsd.org>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.12 2011/08/22 21:59:09 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.13 2011/08/23 00:52:33 jmcneill Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_memsize.h"
@@ -519,7 +519,7 @@
 pmap_enter(pmap_t pmap, vaddr_t va, paddr_t pa, vm_prot_t prot, u_int flags)
 {
 printf("pmap_enter %p : v %p, p %p, prot %d, flags %d\n", (void *) pmap, (void *) va, (void *) pa, (int) prot, (int) flags);
-	return pmap_do_enter(pmap_kernel(),  va, pa, prot, prot, 1);
+	return pmap_do_enter(pmap, va, pa, prot, flags, 0);
 }
 
 void

Reply via email to