Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/oea Fix variable shadowing warning.



details:   https://anonhg.NetBSD.org/src/rev/cfc5a73a5458
branches:  trunk
changeset: 581521:cfc5a73a5458
user:      he <he%NetBSD.org@localhost>
date:      Thu Jun 02 09:47:21 2005 +0000

description:
Fix variable shadowing warning.

diffstat:

 sys/arch/powerpc/oea/pmap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ecbd25013f5e -r cfc5a73a5458 sys/arch/powerpc/oea/pmap.c
--- a/sys/arch/powerpc/oea/pmap.c       Thu Jun 02 09:46:09 2005 +0000
+++ b/sys/arch/powerpc/oea/pmap.c       Thu Jun 02 09:47:21 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.30 2005/05/29 15:57:53 chs Exp $    */
+/*     $NetBSD: pmap.c,v 1.31 2005/06/02 09:47:21 he Exp $     */
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.30 2005/05/29 15:57:53 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.31 2005/06/02 09:47:21 he Exp $");
 
 #include "opt_ppcarch.h"
 #include "opt_altivec.h"
@@ -1690,7 +1690,7 @@
 }
 
 void
-pmap_pvo_remove(struct pvo_entry *pvo, int pteidx, boolean_t free)
+pmap_pvo_remove(struct pvo_entry *pvo, int pteidx, boolean_t do_free)
 {
        volatile struct pte *pt;
        int ptegidx;
@@ -1761,7 +1761,7 @@
         */
        LIST_REMOVE(pvo, pvo_vlink);
        TAILQ_REMOVE(&pmap_pvo_table[ptegidx], pvo, pvo_olink);
-       if (free) {
+       if (do_free) {
                pool_put(pvo->pvo_vaddr & PVO_MANAGED ? &pmap_mpvo_pool :
                         &pmap_upvo_pool, pvo);
        }



Home | Main Index | Thread Index | Old Index