1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218584

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;