Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/macppc One more pmap_extract() fix.



details:   https://anonhg.NetBSD.org/src/rev/6799087bd31c
branches:  trunk
changeset: 474565:6799087bd31c
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Sun Jul 11 17:47:21 1999 +0000

description:
One more pmap_extract() fix.

diffstat:

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

diffs (18 lines):

diff -r 8509cb87031d -r 6799087bd31c sys/arch/macppc/macppc/bus_dma.c
--- a/sys/arch/macppc/macppc/bus_dma.c  Sun Jul 11 17:47:12 1999 +0000
+++ b/sys/arch/macppc/macppc/bus_dma.c  Sun Jul 11 17:47:21 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus_dma.c,v 1.10 1999/07/08 18:08:55 thorpej Exp $ */
+/*     $NetBSD: bus_dma.c,v 1.11 1999/07/11 17:47:21 tsubai Exp $      */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -155,7 +155,7 @@
                 */
                if (p != NULL)
                        (void) pmap_extract(p->p_vmspace->vm_map.pmap,
-                           vaddr, &curaddr);
+                           vaddr, (paddr_t *)&curaddr);
                else
                        curaddr = vtophys(vaddr);
 



Home | Main Index | Thread Index | Old Index