Source-Changes-HG archive

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

[src/uebayasi-xip]: src/sys/arch/acorn26/acorn26 pmap_enter:



details:   https://anonhg.NetBSD.org/src/rev/d2fca2114f0c
branches:  uebayasi-xip
changeset: 751720:d2fca2114f0c
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri May 28 15:40:05 2010 +0000

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

diffstat:

 sys/arch/acorn26/acorn26/pmap.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 4bdde13c013b -r d2fca2114f0c sys/arch/acorn26/acorn26/pmap.c
--- a/sys/arch/acorn26/acorn26/pmap.c   Fri May 28 15:26:22 2010 +0000
+++ b/sys/arch/acorn26/acorn26/pmap.c   Fri May 28 15:40:05 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index