PERFORCE change 63950 for review

John Baldwin jhb at FreeBSD.org
Fri Oct 29 14:23:41 PDT 2004


http://perforce.freebsd.org/chv.cgi?CH=63950

Change 63950 by jhb at 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);
+		}
 	}
 }
 


More information about the p4-projects mailing list