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/playstation2/playstation2 fix compilation.



details:   https://anonhg.NetBSD.org/src/rev/f5572c1d8ccc
branches:  yamt-uio_vmspace
changeset: 586749:f5572c1d8ccc
user:      yamt <yamt%NetBSD.org@localhost>
date:      Sun Feb 26 17:03:29 2006 +0000

description:
fix compilation.

diffstat:

 sys/arch/playstation2/playstation2/bus_dma.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r e2c90b6a9e07 -r f5572c1d8ccc sys/arch/playstation2/playstation2/bus_dma.c
--- a/sys/arch/playstation2/playstation2/bus_dma.c      Sun Feb 19 00:04:38 2006 +0000
+++ b/sys/arch/playstation2/playstation2/bus_dma.c      Sun Feb 26 17:03:29 2006 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma.c,v 1.13.2.1 2006/02/18 11:12:19 yamt Exp $    */
+/*     $NetBSD: bus_dma.c,v 1.13.2.2 2006/02/26 17:03:29 yamt Exp $    */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.13.2.1 2006/02/18 11:12:19 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.13.2.2 2006/02/26 17:03:29 yamt Exp $");
 
 #include <sys/param.h>
 #include <sys/malloc.h>
@@ -153,8 +153,8 @@
                /*
                 * Get the physical address for this segment.
                 */
-               if (!VMSPACE_IS_KERNEL(vm))
-                       (void) pmap_extract(p->p_vmspace->vm_map.pmap,
+               if (!VMSPACE_IS_KERNEL_P(vm))
+                       (void) pmap_extract(vm_map_pmap(&vm->vm_map),
                            vaddr, (paddr_t *)&curaddr);
                else
                        curaddr = kvtophys(vaddr);



Home | Main Index | Thread Index | Old Index