aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Erickson <jerickso@cs.unc.edu>2013-01-29 20:43:21 -0500
committerJeremy Erickson <jerickso@cs.unc.edu>2013-01-29 20:43:21 -0500
commit619e8d505c405c2635b62c10883e26a90632e6d8 (patch)
tree69a9b214506436abdf63b8115d8e83f7bcade5b2
parent2991502a5b655f7313a6f2ad10ad1004b1285a9d (diff)
Fix release behaviorwip-splitting-jerickso
-rw-r--r--litmus/sched_cfl_split.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/litmus/sched_cfl_split.c b/litmus/sched_cfl_split.c
index 68375a4e8c4a..0d7e40793847 100644
--- a/litmus/sched_cfl_split.c
+++ b/litmus/sched_cfl_split.c
@@ -692,10 +692,8 @@ static void cflsplit_finish_switch(struct task_struct *prev)
692 692
693static void cflsplit_release_at(struct task_struct *t, lt_t start) 693static void cflsplit_release_at(struct task_struct *t, lt_t start)
694{ 694{
695 t->rt_param.job_params.deadline = start; 695 release_at(t, start);
696 prepare_for_next_period(t);
697 t->rt_param.job_params.subjob_deadline = get_proper_deadline(t); 696 t->rt_param.job_params.subjob_deadline = get_proper_deadline(t);
698 set_rt_flags(t, RT_F_RUNNING);
699} 697}
700 698
701 699