Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc Pass a 0 as flag value to pmap_kenter_p...
details: https://anonhg.NetBSD.org/src/rev/44e343219196
branches: trunk
changeset: 748945:44e343219196
user: he <he%NetBSD.org@localhost>
date: Wed Nov 11 14:20:01 2009 +0000
description:
Pass a 0 as flag value to pmap_kenter_pa().
diffstat:
sys/arch/sparc/sparc/msiiep.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 7484e7c3ab18 -r 44e343219196 sys/arch/sparc/sparc/msiiep.c
--- a/sys/arch/sparc/sparc/msiiep.c Wed Nov 11 14:15:41 2009 +0000
+++ b/sys/arch/sparc/sparc/msiiep.c Wed Nov 11 14:20:01 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: msiiep.c,v 1.37 2009/05/16 17:42:35 martin Exp $ */
+/* $NetBSD: msiiep.c,v 1.38 2009/11/11 14:20:01 he Exp $ */
/*
* Copyright (c) 2001 Valeriy E. Ushakov
@@ -27,7 +27,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msiiep.c,v 1.37 2009/05/16 17:42:35 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msiiep.c,v 1.38 2009/11/11 14:20:01 he Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@@ -701,7 +701,8 @@
panic("mspcic_dmamem_map: size botch");
pa = VM_PAGE_TO_PHYS(m);
- pmap_kenter_pa(va, pa | PMAP_NC, VM_PROT_READ | VM_PROT_WRITE);
+ pmap_kenter_pa(va,
+ pa | PMAP_NC, VM_PROT_READ | VM_PROT_WRITE, 0);
va += pagesz;
size -= pagesz;
}
Home |
Main Index |
Thread Index |
Old Index