aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-09-21 07:56:43 -0400
committerIngo Molnar <mingo@elte.hu>2010-09-21 07:56:49 -0400
commitcf84fd96323633be7d437e1de4505fc82ff2c11a (patch)
tree094b7a7421945c9ea244f3605378065935f1c100 /kernel/sched.c
parent31915ab4cbf507aadab40847cf9989da5e88b090 (diff)
parentb30a3f6257ed2105259b404d419b4964e363928c (diff)
Merge commit 'v2.6.36-rc5' into sched/core
Merge reason: Pick up the latest fixes in -rc5. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 16a1129f51ec..9ca8ad05950b 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -1291,6 +1291,10 @@ static void resched_task(struct task_struct *p)
1291static void sched_rt_avg_update(struct rq *rq, u64 rt_delta) 1291static void sched_rt_avg_update(struct rq *rq, u64 rt_delta)
1292{ 1292{
1293} 1293}
1294
1295static void sched_avg_update(struct rq *rq)
1296{
1297}
1294#endif /* CONFIG_SMP */ 1298#endif /* CONFIG_SMP */
1295 1299
1296#if BITS_PER_LONG == 32 1300#if BITS_PER_LONG == 32
@@ -3179,6 +3183,8 @@ static void update_cpu_load(struct rq *this_rq)
3179 3183
3180 this_rq->cpu_load[i] = (old_load * (scale - 1) + new_load) >> i; 3184 this_rq->cpu_load[i] = (old_load * (scale - 1) + new_load) >> i;
3181 } 3185 }
3186
3187 sched_avg_update(this_rq);
3182} 3188}
3183 3189
3184static void update_cpu_load_active(struct rq *this_rq) 3190static void update_cpu_load_active(struct rq *this_rq)