diff options
-rw-r--r-- | litmus/sched_mc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/litmus/sched_mc.c b/litmus/sched_mc.c index 4889fedbfe90..91995c95af5e 100644 --- a/litmus/sched_mc.c +++ b/litmus/sched_mc.c | |||
@@ -490,11 +490,7 @@ static noinline void job_completion(struct task_struct *t, int forced) | |||
490 | prepare_for_next_period(t); | 490 | prepare_for_next_period(t); |
491 | } | 491 | } |
492 | else { | 492 | else { |
493 | /* not sure if this is OK since exec_time is only updated at | 493 | t->rt_param.job_params.ghost_budget = budget_remaining(t) |
494 | ticks */ | ||
495 | t->rt_param.job_params.ghost_budget = | ||
496 | t->rt_param.job_params.exec_cost - | ||
497 | t->rt_param.job_params.exec_time; | ||
498 | } | 494 | } |
499 | if (is_released(t, litmus_clock())) | 495 | if (is_released(t, litmus_clock())) |
500 | sched_trace_task_release(t); | 496 | sched_trace_task_release(t); |