diff options
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r-- | kernel/sched/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 30236ab4edc0..924a99094888 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h | |||
@@ -112,6 +112,7 @@ struct task_group { | |||
112 | unsigned long shares; | 112 | unsigned long shares; |
113 | 113 | ||
114 | atomic_t load_weight; | 114 | atomic_t load_weight; |
115 | atomic64_t load_avg; | ||
115 | #endif | 116 | #endif |
116 | 117 | ||
117 | #ifdef CONFIG_RT_GROUP_SCHED | 118 | #ifdef CONFIG_RT_GROUP_SCHED |
@@ -232,6 +233,9 @@ struct cfs_rq { | |||
232 | u64 runnable_load_avg, blocked_load_avg; | 233 | u64 runnable_load_avg, blocked_load_avg; |
233 | atomic64_t decay_counter, removed_load; | 234 | atomic64_t decay_counter, removed_load; |
234 | u64 last_decay; | 235 | u64 last_decay; |
236 | #ifdef CONFIG_FAIR_GROUP_SCHED | ||
237 | u64 tg_load_contrib; | ||
238 | #endif | ||
235 | #endif | 239 | #endif |
236 | #ifdef CONFIG_FAIR_GROUP_SCHED | 240 | #ifdef CONFIG_FAIR_GROUP_SCHED |
237 | struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */ | 241 | struct rq *rq; /* cpu runqueue to which this cfs_rq is attached */ |