Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Fix MALTA32 builds, pmap_kenter_pa() need...



details:   https://anonhg.NetBSD.org/src/rev/03932a5528a4
branches:  trunk
changeset: 750073:03932a5528a4
user:      rmind <rmind%NetBSD.org@localhost>
date:      Tue Dec 15 06:07:14 2009 +0000

description:
Fix MALTA32 builds, pmap_kenter_pa() needs additional argument in -current.

diffstat:

 sys/arch/mips/mips/bus_space_alignstride_chipdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1e4c470d42b7 -r 03932a5528a4 sys/arch/mips/mips/bus_space_alignstride_chipdep.c
--- a/sys/arch/mips/mips/bus_space_alignstride_chipdep.c        Tue Dec 15 06:04:22 2009 +0000
+++ b/sys/arch/mips/mips/bus_space_alignstride_chipdep.c        Tue Dec 15 06:07:14 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.11 2009/12/14 00:46:05 matt Exp $ */
+/* $NetBSD: bus_space_alignstride_chipdep.c,v 1.12 2009/12/15 06:07:14 rmind Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001 The NetBSD Foundation, Inc.
@@ -81,7 +81,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.11 2009/12/14 00:46:05 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_space_alignstride_chipdep.c,v 1.12 2009/12/15 06:07:14 rmind Exp $");
 
 #ifdef CHIP_EXTENT
 #include <sys/extent.h>
@@ -772,7 +772,7 @@
 
                s = splhigh();
                while (size != 0) {
-                       pmap_kenter_pa(va, pa, VM_PROT_READ | VM_PROT_WRITE);
+                       pmap_kenter_pa(va, pa, VM_PROT_READ | VM_PROT_WRITE, 0);
                        pa += PAGE_SIZE;
                        va += PAGE_SIZE;
                        size -= PAGE_SIZE;



Home | Main Index | Thread Index | Old Index