Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa Style.



details:   https://anonhg.NetBSD.org/src/rev/56016cfe9d37
branches:  trunk
changeset: 772493:56016cfe9d37
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Jan 06 08:03:16 2012 +0000

description:
Style.

diffstat:

 sys/arch/hppa/hppa/pmap.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 686f48f4fc39 -r 56016cfe9d37 sys/arch/hppa/hppa/pmap.c
--- a/sys/arch/hppa/hppa/pmap.c Fri Jan 06 07:59:07 2012 +0000
+++ b/sys/arch/hppa/hppa/pmap.c Fri Jan 06 08:03:16 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.89 2012/01/06 07:59:07 skrll Exp $  */
+/*     $NetBSD: pmap.c,v 1.90 2012/01/06 08:03:16 skrll Exp $  */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.89 2012/01/06 07:59:07 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.90 2012/01/06 08:03:16 skrll Exp $");
 
 #include "opt_cputype.h"
 
@@ -595,11 +595,13 @@
        KASSERT(pmap == pmap_kernel() || uvm_page_locked_p(pg));
 
        for (pv = *(pve = &md->pvh_list);
-           pv; pv = *(pve = &(*pve)->pv_next))
+           pv; pv = *(pve = &(*pve)->pv_next)) {
                if (pv->pv_pmap == pmap && (pv->pv_va & PV_VAMASK) == va) {
                        *pve = pv->pv_next;
                        break;
                }
+       }
+
        return (pv);
 }
 



Home | Main Index | Thread Index | Old Index