mptable_pass1: Don't set ncpus to 1; it has already been setup.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 12 Jun 2009 04:33:05 +0000 (12:33 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 12 Jun 2009 11:07:54 +0000 (19:07 +0800)
sys/platform/pc32/i386/mp_machdep.c

index 69f9ff5..3a649f4 100644 (file)
@@ -799,12 +799,6 @@ mptable_pass1(void)
 
        /* See if we need to fixup HT logical CPUs. */
        mptable_hyperthread_fixup(id_mask);
-       
-       /*
-        * Count the BSP.
-        * This is also used as a counter while starting the APs.
-        */
-       ncpus = 1;
 
        --mp_naps;      /* subtract the BSP */
 }