diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-12-06 13:20:27 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2013-12-06 13:20:27 -0500 |
commit | efe3e4c46fe86c815ada23a4cfbc89b6e55e14f1 (patch) | |
tree | d24d110917086af1353d73ff29989768cbe9aac3 /litmus/sched_cedf.c | |
parent | dfe59a59caec43172bbf09fe3e2e15e9395e7e6b (diff) |
Add PGM support to C-FLwip-pgm
This patch applies the same PGM changes made to C-EDF to C-FL.
Diffstat (limited to 'litmus/sched_cedf.c')
-rw-r--r-- | litmus/sched_cedf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/litmus/sched_cedf.c b/litmus/sched_cedf.c index 8699f6d9d5b6..a25f2a474263 100644 --- a/litmus/sched_cedf.c +++ b/litmus/sched_cedf.c | |||
@@ -566,12 +566,13 @@ static struct task_struct* cedf_schedule(struct task_struct * prev) | |||
566 | entry->scheduled->rt_param.scheduled_on = NO_CPU; | 566 | entry->scheduled->rt_param.scheduled_on = NO_CPU; |
567 | TRACE_TASK(entry->scheduled, "scheduled_on = NO_CPU\n"); | 567 | TRACE_TASK(entry->scheduled, "scheduled_on = NO_CPU\n"); |
568 | } | 568 | } |
569 | } else | 569 | } else { |
570 | /* Only override Linux scheduler if we have a real-time task | 570 | /* Only override Linux scheduler if we have a real-time task |
571 | * scheduled that needs to continue. | 571 | * scheduled that needs to continue. |
572 | */ | 572 | */ |
573 | if (exists) | 573 | if (exists) |
574 | next = prev; | 574 | next = prev; |
575 | } | ||
575 | 576 | ||
576 | sched_state_task_picked(); | 577 | sched_state_task_picked(); |
577 | raw_spin_unlock(&cluster->cluster_lock); | 578 | raw_spin_unlock(&cluster->cluster_lock); |