Module Name:    src
Committed By:   uebayasi
Date:           Fri May 28 15:40:05 UTC 2010

Modified Files:
        src/sys/arch/acorn26/acorn26 [uebayasi-xip]: pmap.c

Log Message:
pmap_enter:
This pmap treats all pmap_enter()'ed entries as "managed", and always
allocate PV entries.  Put back the original behavior.  There is no need
to check the new PMAP_UNMANAGED flag.


To generate a diff of this commit:
cvs rdiff -u -r1.30.2.2 -r1.30.2.3 src/sys/arch/acorn26/acorn26/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/acorn26/acorn26/pmap.c
diff -u src/sys/arch/acorn26/acorn26/pmap.c:1.30.2.2 src/sys/arch/acorn26/acorn26/pmap.c:1.30.2.3
--- src/sys/arch/acorn26/acorn26/pmap.c:1.30.2.2	Wed Apr 28 08:31:05 2010
+++ src/sys/arch/acorn26/acorn26/pmap.c	Fri May 28 15:40:05 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.30.2.2 2010/04/28 08:31:05 uebayasi Exp $ */
+/* $NetBSD: pmap.c,v 1.30.2.3 2010/05/28 15:40:05 uebayasi Exp $ */
 /*-
  * Copyright (c) 1997, 1998, 2000 Ben Harris
  * All rights reserved.
@@ -102,7 +102,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.30.2.2 2010/04/28 08:31:05 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.30.2.3 2010/05/28 15:40:05 uebayasi Exp $");
 
 #include <sys/kernel.h> /* for cold */
 #include <sys/malloc.h>
@@ -634,8 +634,7 @@
 	UVMHIST_FUNC("pmap_enter");
 
 	UVMHIST_CALLED(pmaphist);
-	return pmap_enter1(pmap, va, pa, prot, flags,
-	    (flags & PMAP_UNMANAGED) != 0);
+	return pmap_enter1(pmap, va, pa, prot, flags, 1);
 }
 
 static int

Reply via email to