diff options
Diffstat (limited to 'kernel/sched_rt.c')
-rw-r--r-- | kernel/sched_rt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 0f3c19197fa4..e757f370eb1b 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c | |||
@@ -231,7 +231,7 @@ static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun) | |||
231 | return 1; | 231 | return 1; |
232 | 232 | ||
233 | span = sched_rt_period_mask(); | 233 | span = sched_rt_period_mask(); |
234 | for_each_cpu_mask(i, span) { | 234 | for_each_cpu_mask_nr(i, span) { |
235 | int enqueue = 0; | 235 | int enqueue = 0; |
236 | struct rt_rq *rt_rq = sched_rt_period_rt_rq(rt_b, i); | 236 | struct rt_rq *rt_rq = sched_rt_period_rt_rq(rt_b, i); |
237 | struct rq *rq = rq_of_rt_rq(rt_rq); | 237 | struct rq *rq = rq_of_rt_rq(rt_rq); |
@@ -273,7 +273,7 @@ static int balance_runtime(struct rt_rq *rt_rq) | |||
273 | 273 | ||
274 | spin_lock(&rt_b->rt_runtime_lock); | 274 | spin_lock(&rt_b->rt_runtime_lock); |
275 | rt_period = ktime_to_ns(rt_b->rt_period); | 275 | rt_period = ktime_to_ns(rt_b->rt_period); |
276 | for_each_cpu_mask(i, rd->span) { | 276 | for_each_cpu_mask_nr(i, rd->span) { |
277 | struct rt_rq *iter = sched_rt_period_rt_rq(rt_b, i); | 277 | struct rt_rq *iter = sched_rt_period_rt_rq(rt_b, i); |
278 | s64 diff; | 278 | s64 diff; |
279 | 279 | ||
@@ -1006,7 +1006,7 @@ static int pull_rt_task(struct rq *this_rq) | |||
1006 | 1006 | ||
1007 | next = pick_next_task_rt(this_rq); | 1007 | next = pick_next_task_rt(this_rq); |
1008 | 1008 | ||
1009 | for_each_cpu_mask(cpu, this_rq->rd->rto_mask) { | 1009 | for_each_cpu_mask_nr(cpu, this_rq->rd->rto_mask) { |
1010 | if (this_cpu == cpu) | 1010 | if (this_cpu == cpu) |
1011 | continue; | 1011 | continue; |
1012 | 1012 | ||