- Add the missing '2' case to the switch table for kern.smp.topology and

assign it to create the flat 'none' topology where all cpus are scheduled
   as if they are equal and unrelated.
This commit is contained in:
Jeff Roberson 2008-03-10 01:38:53 +00:00
parent 32c9d3a767
commit 1bf6461e98

View File

@ -405,6 +405,10 @@ smp_topo(void)
/* Dual core with no sharing. */
top = smp_topo_1level(CG_SHARE_NONE, 2, 0);
break;
case 2:
/* No topology, all cpus are equal. */
top = smp_topo_none();
break;
case 3:
/* Dual core with shared L2. */
top = smp_topo_1level(CG_SHARE_L2, 2, 0);