aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2007-10-07 02:37:45 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2007-10-07 02:37:45 -0400
commit19fa5f404ad17b9130f5bb4407b7a896b7673dfa (patch)
tree968a97728360bc560ad10847a3c5ee1008611164 /kernel
parent158a44baec2e855f6a4f0359a87e2b88c348a955 (diff)
compile fix
use correct functions
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched_adaptive.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched_adaptive.c b/kernel/sched_adaptive.c
index 54d707b880..2229b5211b 100644
--- a/kernel/sched_adaptive.c
+++ b/kernel/sched_adaptive.c
@@ -404,11 +404,11 @@ static noinline void job_completion(struct task_struct *t)
404 404
405 actual_weight = _frac(t->rt_param.times.exec_time, 405 actual_weight = _frac(t->rt_param.times.exec_time,
406 t->rt_param.basic_params.period); 406 t->rt_param.basic_params.period);
407 old_estimate = get_estimated_weight(t); 407 old_estimate = get_est_weight(t);
408 update_estimate(&t->rt_param.predictor_state, actual_weight, 408 update_estimate(&t->rt_param.predictor_state, actual_weight,
409 fc_a, fc_b, fc_c); 409 fc_a, fc_b, fc_c);
410 if (_gt(_div(_abs(get_estimated_weight(t) - old_estimate), 410 if (_gt(_div(_abs(_sub(get_est_weight(t), old_estimate)),
411 get_estimate_weight(t)), 411 get_est_weight(t)),
412 task_error_threshold)) 412 task_error_threshold))
413 adaptive_optimize(); 413 adaptive_optimize();
414 414