aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r--kernel/sched_rt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 2bdd44423599..4cd813abc23a 100644
--- a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -1017,7 +1017,8 @@ static int find_lowest_rq(struct task_struct *task)
1017 cpumask_t domain_mask; 1017 cpumask_t domain_mask;
1018 int best_cpu; 1018 int best_cpu;
1019 1019
1020 cpus_and(domain_mask, sd->span, *lowest_mask); 1020 cpumask_and(&domain_mask, sched_domain_span(sd),
1021 lowest_mask);
1021 1022
1022 best_cpu = pick_optimal_cpu(this_cpu, 1023 best_cpu = pick_optimal_cpu(this_cpu,
1023 &domain_mask); 1024 &domain_mask);