Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2004 21:23:39 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 63950 for review
Message-ID:  <200410292123.i9TLNdAI000259@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=63950

Change 63950 by jhb@jhb_slimer on 2004/10/29 21:23:12

	Really fix this.

Affected files ...

.. //depot/projects/smpng/sys/i386/i386/mp_machdep.c#73 edit

Differences ...

==== //depot/projects/smpng/sys/i386/i386/mp_machdep.c#73 (text+ko) ====

@@ -422,12 +422,13 @@
 	for (i = 1, x = 0; x < MAXCPU; x++) {
 		if (!cpu_info[x].cpu_present || cpu_info[x].cpu_bsp)
 			continue;
-		KASSERT(i < mp_ncpus,
-		    ("mp_ncpus and actual cpus are out of whack"));
 		if (cpu_info[x].cpu_disabled)
 			printf("  cpu (AP): APIC ID: %2d (disabled)\n", x);
-		else
+		else {
+			KASSERT(i < mp_ncpus,
+			    ("mp_ncpus and actual cpus are out of whack"));
 			printf(" cpu%d (AP): APIC ID: %2d\n", i++, x);
+		}
 	}
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410292123.i9TLNdAI000259>