aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--litmus/sched_litmus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_litmus.c b/litmus/sched_litmus.c
index ab52ae9510..0e6cde6e1f 100644
--- a/litmus/sched_litmus.c
+++ b/litmus/sched_litmus.c
@@ -79,7 +79,7 @@ static void litmus_schedule(struct rq *rq, struct task_struct *prev)
79 } 79 }
80 80
81 double_rq_lock(rq, other_rq); 81 double_rq_lock(rq, other_rq);
82 if (prev->state != prev_state) { 82 if (prev->state != prev_state && is_realtime(prev)) {
83 TRACE_TASK(prev, 83 TRACE_TASK(prev,
84 "state changed while we dropped" 84 "state changed while we dropped"
85 " the lock: now=%d, old=%d\n", 85 " the lock: now=%d, old=%d\n",