aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--litmus/sched_gsn_edf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c
index 08b8847ede97..3092797480f8 100644
--- a/litmus/sched_gsn_edf.c
+++ b/litmus/sched_gsn_edf.c
@@ -374,8 +374,10 @@ static struct task_struct* gsnedf_schedule(struct task_struct * prev)
374 /* Bail out early if we are the release master. 374 /* Bail out early if we are the release master.
375 * The release master never schedules any real-time tasks. 375 * The release master never schedules any real-time tasks.
376 */ 376 */
377 if (gsnedf.release_master == entry->cpu) 377 if (gsnedf.release_master == entry->cpu) {
378 sched_state_task_picked();
378 return NULL; 379 return NULL;
380 }
379#endif 381#endif
380 382
381 raw_spin_lock(&gsnedf_lock); 383 raw_spin_lock(&gsnedf_lock);