X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fsched_rt.c;h=f85a76363eee873e23edd0983e7427be65b4fb08;hb=7f9dce38378f0a4a298e885553d6bb7121376376;hp=24621cea8bb0b5ff2918aaafd01ef87d55bf41a4;hpb=ba42059fbd0aa1ac91b582412b5fedb1258f241f;p=linux-2.6 diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c index 24621cea8b..f85a76363e 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c @@ -240,7 +240,7 @@ static int do_balance_runtime(struct rt_rq *rt_rq) spin_lock(&rt_b->rt_runtime_lock); rt_period = ktime_to_ns(rt_b->rt_period); - for_each_cpu_mask(i, rd->span) { + for_each_cpu_mask_nr(i, rd->span) { struct rt_rq *iter = sched_rt_period_rt_rq(rt_b, i); s64 diff; @@ -1128,7 +1128,7 @@ static int pull_rt_task(struct rq *this_rq) next = pick_next_task_rt(this_rq); - for_each_cpu_mask(cpu, this_rq->rd->rto_mask) { + for_each_cpu_mask_nr(cpu, this_rq->rd->rto_mask) { if (this_cpu == cpu) continue;