Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 fix reversed test.



details:   https://anonhg.NetBSD.org/src/rev/856933ee78b7
branches:  trunk
changeset: 769117:856933ee78b7
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 31 18:52:37 2011 +0000

description:
fix reversed test.

diffstat:

 sys/arch/amd64/amd64/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 197d8011eff3 -r 856933ee78b7 sys/arch/amd64/amd64/machdep.c
--- a/sys/arch/amd64/amd64/machdep.c    Wed Aug 31 18:31:02 2011 +0000
+++ b/sys/arch/amd64/amd64/machdep.c    Wed Aug 31 18:52:37 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.166 2011/08/31 17:03:17 christos Exp $   */
+/*     $NetBSD: machdep.c,v 1.167 2011/08/31 18:52:37 christos Exp $   */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.166 2011/08/31 17:03:17 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.167 2011/08/31 18:52:37 christos Exp $");
 
 /* #define XENDEBUG_LOW  */
 
@@ -821,7 +821,7 @@
        printf("dump_misc_init: max_paddr = 0x%lx\n",
            (unsigned long)max_paddr);
 #endif
-       if (max_paddr != 0) {
+       if (max_paddr == 0) {
                printf("Your machine does not initialize mem_clusters; "
                    "sparse_dumps disabled\n");
                sparse_dump = 0;



Home | Main Index | Thread Index | Old Index