diff options
Diffstat (limited to 'litmus/sched_gsn_edf.c')
-rw-r--r-- | litmus/sched_gsn_edf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c index bd3b36223428..770004544edd 100644 --- a/litmus/sched_gsn_edf.c +++ b/litmus/sched_gsn_edf.c | |||
@@ -375,8 +375,10 @@ static struct task_struct* gsnedf_schedule(struct task_struct * prev) | |||
375 | /* Bail out early if we are the release master. | 375 | /* Bail out early if we are the release master. |
376 | * The release master never schedules any real-time tasks. | 376 | * The release master never schedules any real-time tasks. |
377 | */ | 377 | */ |
378 | if (gsnedf.release_master == entry->cpu) | 378 | if (gsnedf.release_master == entry->cpu) { |
379 | sched_state_task_picked(); | ||
379 | return NULL; | 380 | return NULL; |
381 | } | ||
380 | #endif | 382 | #endif |
381 | 383 | ||
382 | raw_spin_lock(&gsnedf_lock); | 384 | raw_spin_lock(&gsnedf_lock); |