diff options
Diffstat (limited to 'litmus/sched_cedf.c')
-rw-r--r-- | litmus/sched_cedf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_cedf.c b/litmus/sched_cedf.c index 4bf61f7dbf3f..8b3f8a7e2609 100644 --- a/litmus/sched_cedf.c +++ b/litmus/sched_cedf.c | |||
@@ -421,7 +421,7 @@ static struct task_struct* cedf_schedule(struct task_struct * prev) | |||
421 | /* Bail out early if we are the release master. | 421 | /* Bail out early if we are the release master. |
422 | * The release master never schedules any real-time tasks. | 422 | * The release master never schedules any real-time tasks. |
423 | */ | 423 | */ |
424 | if (cluster->domain.release_master == entry->cpu) { | 424 | if (unlikely(cluster->domain.release_master == entry->cpu)) { |
425 | sched_state_task_picked(); | 425 | sched_state_task_picked(); |
426 | return NULL; | 426 | return NULL; |
427 | } | 427 | } |