aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_gsn_edf.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/sched_gsn_edf.c')
-rw-r--r--litmus/sched_gsn_edf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c
index 467f8b284de4..7aad7f0ad8f2 100644
--- a/litmus/sched_gsn_edf.c
+++ b/litmus/sched_gsn_edf.c
@@ -409,7 +409,7 @@ static struct task_struct* gsnedf_schedule(struct task_struct * prev)
409 /* Bail out early if we are the release master. 409 /* Bail out early if we are the release master.
410 * The release master never schedules any real-time tasks. 410 * The release master never schedules any real-time tasks.
411 */ 411 */
412 if (gsnedf.release_master == entry->cpu) { 412 if (unlikely(gsnedf.release_master == entry->cpu)) {
413 sched_state_task_picked(); 413 sched_state_task_picked();
414 return NULL; 414 return NULL;
415 } 415 }