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:
parent
71c2bc5c6b
commit
d59dd76c22
@ -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 {
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user