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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/litmus/sched_cedf.c b/litmus/sched_cedf.c
index cb6a0bd0963c..1838c6b6fb0c 100644
--- a/litmus/sched_cedf.c
+++ b/litmus/sched_cedf.c
@@ -382,8 +382,10 @@ static struct task_struct* cedf_schedule(struct task_struct * prev)
382 /* Bail out early if we are the release master. 382 /* Bail out early if we are the release master.
383 * The release master never schedules any real-time tasks. 383 * The release master never schedules any real-time tasks.
384 */ 384 */
385 if (cluster->domain.release_master == entry->cpu) 385 if (cluster->domain.release_master == entry->cpu) {
386 sched_state_task_picked();
386 return NULL; 387 return NULL;
388 }
387#endif 389#endif
388 390
389 raw_spin_lock(&cluster->lock); 391 raw_spin_lock(&cluster->lock);