Source-Changes-HG archive

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

[src/yamt-uio_vmspace]: src/sys/arch fix a typo.



details:   https://anonhg.NetBSD.org/src/rev/d90abc61b86a
branches:  yamt-uio_vmspace
changeset: 586739:d90abc61b86a
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sat Feb 18 23:18:09 2006 +0000

description:
fix a typo.

diffstat:

 sys/arch/m68k/m68k/bus_dma.c     |  6 +++---
 sys/arch/macppc/macppc/bus_dma.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r baefff1203f5 -r d90abc61b86a sys/arch/m68k/m68k/bus_dma.c
--- a/sys/arch/m68k/m68k/bus_dma.c      Sat Feb 18 17:22:04 2006 +0000
+++ b/sys/arch/m68k/m68k/bus_dma.c      Sat Feb 18 23:18:09 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.16.2.1 2006/02/18 11:12:19 yamt Exp $ */
+/* $NetBSD: bus_dma.c,v 1.16.2.2 2006/02/18 23:18:56 yamt Exp $ */
 
 /*
  * This file was taken from from alpha/common/bus_dma.c
@@ -46,7 +46,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.16.2.1 2006/02/18 11:12:19 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.16.2.2 2006/02/18 23:18:56 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -167,7 +167,7 @@
                /*
                 * Get the physical address for this segment.
                 */
-               if (!VMSPACE_KERNEL_P(vm))
+               if (!VMSPACE_IS_KERNEL_P(vm))
                        rv = pmap_extract(vm_map_pmap(&vm->vm_map),
                            vaddr, &curaddr);
                else
diff -r baefff1203f5 -r d90abc61b86a sys/arch/macppc/macppc/bus_dma.c
--- a/sys/arch/macppc/macppc/bus_dma.c  Sat Feb 18 17:22:04 2006 +0000
+++ b/sys/arch/macppc/macppc/bus_dma.c  Sat Feb 18 23:18:09 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma.c,v 1.33.2.1 2006/02/18 14:26:06 yamt Exp $    */
+/*     $NetBSD: bus_dma.c,v 1.33.2.2 2006/02/18 23:18:09 yamt Exp $    */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.33.2.1 2006/02/18 14:26:06 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.33.2.2 2006/02/18 23:18:09 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -152,7 +152,7 @@
                /*
                 * Get the physical address for this segment.
                 */
-               if (!VMSPACE_IS_KERNEL_p(vm))
+               if (!VMSPACE_IS_KERNEL_P(vm))
                        (void) pmap_extract(vm_map_pmap(&vm->vm_map),
                            vaddr, (void *)&curaddr);
                else



Home | Main Index | Thread Index | Old Index