aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 613fee54fc89..475138c42548 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -7927,7 +7927,7 @@ static void rq_attach_root(struct rq *rq, struct root_domain *rd)
7927 rq->rd = rd; 7927 rq->rd = rd;
7928 7928
7929 cpumask_set_cpu(rq->cpu, rd->span); 7929 cpumask_set_cpu(rq->cpu, rd->span);
7930 if (cpumask_test_cpu(rq->cpu, cpu_online_mask)) 7930 if (cpumask_test_cpu(rq->cpu, cpu_active_mask))
7931 set_rq_online(rq); 7931 set_rq_online(rq);
7932 7932
7933 spin_unlock_irqrestore(&rq->lock, flags); 7933 spin_unlock_irqrestore(&rq->lock, flags);