From 463c286cbeb282554d4540a2bafc133f5a8a9cad Mon Sep 17 00:00:00 2001 From: Bjoern Brandenburg Date: Wed, 20 Jul 2016 17:43:12 +0200 Subject: GSN-EDF use inferred_sporadic_job_release_at() --- litmus/sched_gsn_edf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c index b1efc260c2c4..d3bcb60b9fe3 100644 --- a/litmus/sched_gsn_edf.c +++ b/litmus/sched_gsn_edf.c @@ -578,10 +578,7 @@ static void gsnedf_task_wake_up(struct task_struct *task) raw_spin_lock_irqsave(&gsnedf_lock, flags); now = litmus_clock(); if (is_sporadic(task) && is_tardy(task, now)) { - /* new sporadic release */ - sched_trace_last_suspension_as_completion(task); - release_at(task, now); - sched_trace_task_release(task); + inferred_sporadic_job_release_at(task, now); } gsnedf_job_arrival(task); raw_spin_unlock_irqrestore(&gsnedf_lock, flags); -- cgit v1.2.2