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 baef30f08405..ab77aa00b7b1 100644 --- a/kernel/sched_rt.c +++ b/kernel/sched_rt.c | |||
@@ -1140,7 +1140,7 @@ static struct task_struct *pick_next_highest_task_rt(struct rq *rq, int cpu) | |||
1140 | for_each_leaf_rt_rq(rt_rq, rq) { | 1140 | for_each_leaf_rt_rq(rt_rq, rq) { |
1141 | array = &rt_rq->active; | 1141 | array = &rt_rq->active; |
1142 | idx = sched_find_first_bit(array->bitmap); | 1142 | idx = sched_find_first_bit(array->bitmap); |
1143 | next_idx: | 1143 | next_idx: |
1144 | if (idx >= MAX_RT_PRIO) | 1144 | if (idx >= MAX_RT_PRIO) |
1145 | continue; | 1145 | continue; |
1146 | if (next && next->prio < idx) | 1146 | if (next && next->prio < idx) |
@@ -1316,7 +1316,7 @@ static int push_rt_task(struct rq *rq) | |||
1316 | if (!next_task) | 1316 | if (!next_task) |
1317 | return 0; | 1317 | return 0; |
1318 | 1318 | ||
1319 | retry: | 1319 | retry: |
1320 | if (unlikely(next_task == rq->curr)) { | 1320 | if (unlikely(next_task == rq->curr)) { |
1321 | WARN_ON(1); | 1321 | WARN_ON(1); |
1322 | return 0; | 1322 | return 0; |
@@ -1464,7 +1464,7 @@ static int pull_rt_task(struct rq *this_rq) | |||
1464 | * but possible) | 1464 | * but possible) |
1465 | */ | 1465 | */ |
1466 | } | 1466 | } |
1467 | skip: | 1467 | skip: |
1468 | double_unlock_balance(this_rq, src_rq); | 1468 | double_unlock_balance(this_rq, src_rq); |
1469 | } | 1469 | } |
1470 | 1470 | ||