hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/kernel/sched/cpudeadline.c
....@@ -120,7 +120,7 @@
120120 const struct sched_dl_entity *dl_se = &p->dl;
121121
122122 if (later_mask &&
123
- cpumask_and(later_mask, cp->free_cpus, &p->cpus_mask)) {
123
+ cpumask_and(later_mask, cp->free_cpus, p->cpus_ptr)) {
124124 unsigned long cap, max_cap = 0;
125125 int cpu, max_cpu = -1;
126126
....@@ -151,7 +151,7 @@
151151
152152 WARN_ON(best_cpu != -1 && !cpu_present(best_cpu));
153153
154
- if (cpumask_test_cpu(best_cpu, &p->cpus_mask) &&
154
+ if (cpumask_test_cpu(best_cpu, p->cpus_ptr) &&
155155 dl_time_before(dl_se->deadline, cp->elements[0].dl)) {
156156 if (later_mask)
157157 cpumask_set_cpu(best_cpu, later_mask);