|
@@ -6116,10 +6116,6 @@ void __init migration_init(void)
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
#ifdef CONFIG_SMP
|
|
|
|
|
|
-/* Number of possible processor ids */
|
|
|
|
-int nr_cpu_ids __read_mostly = NR_CPUS;
|
|
|
|
-EXPORT_SYMBOL(nr_cpu_ids);
|
|
|
|
-
|
|
|
|
#ifdef CONFIG_SCHED_DEBUG
|
|
#ifdef CONFIG_SCHED_DEBUG
|
|
|
|
|
|
static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level,
|
|
static int sched_domain_debug_one(struct sched_domain *sd, int cpu, int level,
|
|
@@ -7478,7 +7474,6 @@ static void init_tg_rt_entry(struct rq *rq, struct task_group *tg,
|
|
|
|
|
|
void __init sched_init(void)
|
|
void __init sched_init(void)
|
|
{
|
|
{
|
|
- int highest_cpu = 0;
|
|
|
|
int i, j;
|
|
int i, j;
|
|
unsigned long alloc_size = 0, ptr;
|
|
unsigned long alloc_size = 0, ptr;
|
|
|
|
|
|
@@ -7569,7 +7564,6 @@ void __init sched_init(void)
|
|
#endif
|
|
#endif
|
|
init_rq_hrtick(rq);
|
|
init_rq_hrtick(rq);
|
|
atomic_set(&rq->nr_iowait, 0);
|
|
atomic_set(&rq->nr_iowait, 0);
|
|
- highest_cpu = i;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
set_load_weight(&init_task);
|
|
set_load_weight(&init_task);
|
|
@@ -7579,7 +7573,6 @@ void __init sched_init(void)
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
#ifdef CONFIG_SMP
|
|
- nr_cpu_ids = highest_cpu + 1;
|
|
|
|
open_softirq(SCHED_SOFTIRQ, run_rebalance_domains, NULL);
|
|
open_softirq(SCHED_SOFTIRQ, run_rebalance_domains, NULL);
|
|
#endif
|
|
#endif
|
|
|
|
|