Merge r221278 from largeSMP project:

idle_cpus_mask is just used in sched_4bsd, thus make it private for it.

Tested by:	several
This commit is contained in:
Attilio Rao 2011-05-16 23:20:12 +00:00
parent 71c2bc5c6b
commit d59dd76c22
3 changed files with 2 additions and 2 deletions

View File

@ -155,6 +155,8 @@ static struct runq runq;
*/
static struct runq runq_pcpu[MAXCPU];
long runq_length[MAXCPU];
static cpumask_t idle_cpus_mask;
#endif
struct pcpuidlestat {

View File

@ -55,7 +55,6 @@ __FBSDID("$FreeBSD$");
#ifdef SMP
volatile cpumask_t stopped_cpus;
volatile cpumask_t started_cpus;
cpumask_t idle_cpus_mask;
cpumask_t hlt_cpus_mask;
cpumask_t logical_cpus_mask;

View File

@ -73,7 +73,6 @@ extern int smp_active;
extern int smp_cpus;
extern volatile cpumask_t started_cpus;
extern volatile cpumask_t stopped_cpus;
extern cpumask_t idle_cpus_mask;
extern cpumask_t hlt_cpus_mask;
extern cpumask_t logical_cpus_mask;
#endif /* SMP */