Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/ibm4xx pmap_testout: fix too many arguments...



details:   https://anonhg.NetBSD.org/src/rev/f877b3c456c9
branches:  trunk
changeset: 580058:f877b3c456c9
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Apr 07 12:01:08 2005 +0000

description:
pmap_testout: fix too many arguments for pmap_kenter_pa.
from Shoichi Miyake.  PR/29914.

diffstat:

 sys/arch/powerpc/ibm4xx/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r eb8742fa1555 -r f877b3c456c9 sys/arch/powerpc/ibm4xx/pmap.c
--- a/sys/arch/powerpc/ibm4xx/pmap.c    Thu Apr 07 06:44:15 2005 +0000
+++ b/sys/arch/powerpc/ibm4xx/pmap.c    Thu Apr 07 12:01:08 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.34 2005/04/01 11:59:34 yamt Exp $   */
+/*     $NetBSD: pmap.c,v 1.35 2005/04/07 12:01:08 yamt Exp $   */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.34 2005/04/01 11:59:34 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.35 2005/04/07 12:01:08 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -1784,7 +1784,7 @@
               ref, mod);
 
        pmap_remove(pmap_kernel(), va, va + PAGE_SIZE);
-       pmap_kenter_pa(va, pa, VM_PROT_ALL, VM_PROT_ALL);
+       pmap_kenter_pa(va, pa, VM_PROT_ALL);
        uvm_km_free(kernel_map, (vaddr_t)va, PAGE_SIZE, UVM_KMF_WIRED);
 }
 #endif



Home | Main Index | Thread Index | Old Index