Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 This panic is wrong. There could be two con...



details:   https://anonhg.NetBSD.org/src/rev/0db6e45fdc11
branches:  trunk
changeset: 346762:0db6e45fdc11
user:      maxv <maxv%NetBSD.org@localhost>
date:      Mon Aug 01 16:07:39 2016 +0000

description:
This panic is wrong. There could be two consecutive clusters below
avail_start.

diffstat:

 sys/arch/x86/x86/x86_machdep.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 07dcf78ed826 -r 0db6e45fdc11 sys/arch/x86/x86/x86_machdep.c
--- a/sys/arch/x86/x86/x86_machdep.c    Mon Aug 01 15:41:05 2016 +0000
+++ b/sys/arch/x86/x86/x86_machdep.c    Mon Aug 01 16:07:39 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: x86_machdep.c,v 1.74 2016/07/17 10:46:43 maxv Exp $    */
+/*     $NetBSD: x86_machdep.c,v 1.75 2016/08/01 16:07:39 maxv Exp $    */
 
 /*-
  * Copyright (c) 2002, 2006, 2007 YAMAMOTO Takashi,
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.74 2016/07/17 10:46:43 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_machdep.c,v 1.75 2016/08/01 16:07:39 maxv Exp $");
 
 #include "opt_modular.h"
 #include "opt_physmem.h"
@@ -881,8 +881,6 @@
                        continue;
 
                if (seg_start <= avail_start && avail_start < seg_end) {
-                       if (seg_start != 0)
-                               panic("init_x86_64: memory doesn't start at 0");
                        seg_start = avail_start;
                        if (seg_start == seg_end)
                                continue;



Home | Main Index | Thread Index | Old Index