Source-Changes-HG archive

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

[src/rmind-uvmplock]: src/sys/arch/hp700/hp700 RNF



details:   https://anonhg.NetBSD.org/src/rev/a3127764386a
branches:  rmind-uvmplock
changeset: 753071:a3127764386a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Mar 08 16:21:32 2011 +0000

description:
RNF

diffstat:

 sys/arch/hp700/hp700/machdep.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r de2e38b47077 -r a3127764386a sys/arch/hp700/hp700/machdep.c
--- a/sys/arch/hp700/hp700/machdep.c    Tue Mar 08 16:19:48 2011 +0000
+++ b/sys/arch/hp700/hp700/machdep.c    Tue Mar 08 16:21:32 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.79.2.8 2011/03/08 16:19:48 skrll Exp $   */
+/*     $NetBSD: machdep.c,v 1.79.2.9 2011/03/08 16:21:32 skrll Exp $   */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.79.2.8 2011/03/08 16:19:48 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.79.2.9 2011/03/08 16:21:32 skrll Exp $");
 
 #include "opt_cputype.h"
 #include "opt_ddb.h"
@@ -2088,8 +2088,9 @@
 mm_md_direct_mapped_phys(paddr_t paddr, vaddr_t *vaddr)
 {
 
-       if (atop(paddr) > physmem)
+       if (atop(paddr) > physmem) {
                return false;
+       }
         *vaddr = paddr;
 
        return true;



Home | Main Index | Thread Index | Old Index