mptable_pass1: Don't set ncpus to 1; it has already been setup.
authorMichael Neumann <mneumann@ntecs.de>
Sat, 2 Oct 2010 13:49:45 +0000 (15:49 +0200)
committerMichael Neumann <mneumann@ntecs.de>
Sat, 2 Oct 2010 13:49:45 +0000 (15:49 +0200)
Apply commit bcf5ecdc02ba0af44b1d9b635393a27234d67b27 for x86_64.

sys/platform/pc64/x86_64/mp_machdep.c

index 26ec728..876a8ca 100644 (file)
@@ -839,12 +839,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 */
 }