diff options
Diffstat (limited to 'kernel/sched/rt.c')
-rw-r--r-- | kernel/sched/rt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index ad0241561c3e..575da76a3874 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c | |||
@@ -64,7 +64,7 @@ static void start_rt_bandwidth(struct rt_bandwidth *rt_b) | |||
64 | static void push_irq_work_func(struct irq_work *work); | 64 | static void push_irq_work_func(struct irq_work *work); |
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | void init_rt_rq(struct rt_rq *rt_rq, struct rq *rq) | 67 | void init_rt_rq(struct rt_rq *rt_rq) |
68 | { | 68 | { |
69 | struct rt_prio_array *array; | 69 | struct rt_prio_array *array; |
70 | int i; | 70 | int i; |
@@ -205,7 +205,7 @@ int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) | |||
205 | if (!rt_se) | 205 | if (!rt_se) |
206 | goto err_free_rq; | 206 | goto err_free_rq; |
207 | 207 | ||
208 | init_rt_rq(rt_rq, cpu_rq(i)); | 208 | init_rt_rq(rt_rq); |
209 | rt_rq->rt_runtime = tg->rt_bandwidth.rt_runtime; | 209 | rt_rq->rt_runtime = tg->rt_bandwidth.rt_runtime; |
210 | init_tg_rt_entry(tg, rt_rq, rt_se, i, parent->rt_se[i]); | 210 | init_tg_rt_entry(tg, rt_rq, rt_se, i, parent->rt_se[i]); |
211 | } | 211 | } |