| .. | .. |
|---|
| 124 | 124 | const struct sched_dl_entity *dl_se = &p->dl; |
|---|
| 125 | 125 | |
|---|
| 126 | 126 | if (later_mask && |
|---|
| 127 | | - cpumask_and(later_mask, cp->free_cpus, &p->cpus_allowed)) { |
|---|
| 127 | + cpumask_and(later_mask, cp->free_cpus, p->cpus_ptr)) { |
|---|
| 128 | 128 | return 1; |
|---|
| 129 | 129 | } else { |
|---|
| 130 | 130 | int best_cpu = cpudl_maximum(cp); |
|---|
| 131 | 131 | |
|---|
| 132 | 132 | WARN_ON(best_cpu != -1 && !cpu_present(best_cpu)); |
|---|
| 133 | 133 | |
|---|
| 134 | | - if (cpumask_test_cpu(best_cpu, &p->cpus_allowed) && |
|---|
| 134 | + if (cpumask_test_cpu(best_cpu, p->cpus_ptr) && |
|---|
| 135 | 135 | dl_time_before(dl_se->deadline, cp->elements[0].dl)) { |
|---|
| 136 | 136 | if (later_mask) |
|---|
| 137 | 137 | cpumask_set_cpu(best_cpu, later_mask); |
|---|