diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched/core.c | 4 | ||||
-rw-r--r-- | kernel/sched/deadline.c | 2 | ||||
-rw-r--r-- | kernel/sched/rt.c | 4 | ||||
-rw-r--r-- | kernel/sched/sched.h | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 4b3b6887c6b1..4c49e75ca24d 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
@@ -7164,8 +7164,8 @@ void __init sched_init(void) | |||
7164 | rq->calc_load_active = 0; | 7164 | rq->calc_load_active = 0; |
7165 | rq->calc_load_update = jiffies + LOAD_FREQ; | 7165 | rq->calc_load_update = jiffies + LOAD_FREQ; |
7166 | init_cfs_rq(&rq->cfs); | 7166 | init_cfs_rq(&rq->cfs); |
7167 | init_rt_rq(&rq->rt, rq); | 7167 | init_rt_rq(&rq->rt); |
7168 | init_dl_rq(&rq->dl, rq); | 7168 | init_dl_rq(&rq->dl); |
7169 | #ifdef CONFIG_FAIR_GROUP_SCHED | 7169 | #ifdef CONFIG_FAIR_GROUP_SCHED |
7170 | root_task_group.shares = ROOT_TASK_GROUP_LOAD; | 7170 | root_task_group.shares = ROOT_TASK_GROUP_LOAD; |
7171 | INIT_LIST_HEAD(&rq->leaf_cfs_rq_list); | 7171 | INIT_LIST_HEAD(&rq->leaf_cfs_rq_list); |
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index 24c18dc10fd7..5e2f99bd5ce0 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c | |||
@@ -69,7 +69,7 @@ void init_dl_bw(struct dl_bw *dl_b) | |||
69 | dl_b->total_bw = 0; | 69 | dl_b->total_bw = 0; |
70 | } | 70 | } |
71 | 71 | ||
72 | void init_dl_rq(struct dl_rq *dl_rq, struct rq *rq) | 72 | void init_dl_rq(struct dl_rq *dl_rq) |
73 | { | 73 | { |
74 | dl_rq->rb_root = RB_ROOT; | 74 | dl_rq->rb_root = RB_ROOT; |
75 | 75 | ||
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 | } |
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 91c6736d2522..e0e129993958 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
@@ -1671,8 +1671,8 @@ extern void print_rt_stats(struct seq_file *m, int cpu); | |||
1671 | extern void print_dl_stats(struct seq_file *m, int cpu); | 1671 | extern void print_dl_stats(struct seq_file *m, int cpu); |
1672 | 1672 | ||
1673 | extern void init_cfs_rq(struct cfs_rq *cfs_rq); | 1673 | extern void init_cfs_rq(struct cfs_rq *cfs_rq); |
1674 | extern void init_rt_rq(struct rt_rq *rt_rq, struct rq *rq); | 1674 | extern void init_rt_rq(struct rt_rq *rt_rq); |
1675 | extern void init_dl_rq(struct dl_rq *dl_rq, struct rq *rq); | 1675 | extern void init_dl_rq(struct dl_rq *dl_rq); |
1676 | 1676 | ||
1677 | extern void cfs_bandwidth_usage_inc(void); | 1677 | extern void cfs_bandwidth_usage_inc(void); |
1678 | extern void cfs_bandwidth_usage_dec(void); | 1678 | extern void cfs_bandwidth_usage_dec(void); |