Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Adapt pmap_extract() change.



details:   https://anonhg.NetBSD.org/src/rev/aa7d3cb3bd6a
branches:  trunk
changeset: 474562:aa7d3cb3bd6a
user:      tsubai <tsubai%NetBSD.org@localhost>
date:      Sun Jul 11 17:44:08 1999 +0000

description:
Adapt pmap_extract() change.

diffstat:

 sys/arch/powerpc/include/pmap.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d9d61d6664fe -r aa7d3cb3bd6a sys/arch/powerpc/include/pmap.h
--- a/sys/arch/powerpc/include/pmap.h   Sun Jul 11 17:35:33 1999 +0000
+++ b/sys/arch/powerpc/include/pmap.h   Sun Jul 11 17:44:08 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.14 1999/07/08 18:08:58 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.15 1999/07/11 17:44:08 tsubai Exp $ */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -99,7 +99,7 @@
 
        /* XXX should check battable */
 
-       if ((pa = pmap_extract(pmap_kernel(), va)) != 0)
+       if (pmap_extract(pmap_kernel(), va, &pa))
                return pa;
        return va;
 }



Home | Main Index | Thread Index | Old Index