With smp_topo_none, set cg_mask to all_cpus rather than setting the mp_ncpus

low bits.

Submitted by:	Bhanu Prakash
Reviewed by:	jeffr
This commit is contained in:
Juli Mallett 2011-02-11 22:43:10 +00:00
parent 15cb0f401a
commit 37142d9e87

View file

@ -476,7 +476,7 @@ smp_topo_none(void)
top = &group[0];
top->cg_parent = NULL;
top->cg_child = NULL;
top->cg_mask = ~0U >> (32 - mp_ncpus);
top->cg_mask = all_cpus;
top->cg_count = mp_ncpus;
top->cg_children = 0;
top->cg_level = CG_SHARE_NONE;