aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_cedf.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/sched_cedf.c')
-rw-r--r--litmus/sched_cedf.c3
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);