aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_mc.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/sched_mc.c')
-rw-r--r--litmus/sched_mc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_mc.c b/litmus/sched_mc.c
index ead9402350de..0f5da078c597 100644
--- a/litmus/sched_mc.c
+++ b/litmus/sched_mc.c
@@ -741,7 +741,7 @@ static void mc_tick(struct task_struct* t)
741 if (is_ghost(t)) { 741 if (is_ghost(t)) {
742 raw_spin_lock_irqsave(&global_lock, flags); 742 raw_spin_lock_irqsave(&global_lock, flags);
743 update_ghost_time(t); 743 update_ghost_time(t);
744 raw_spin_lock_irqrestore(&global_lock, flags); 744 raw_spin_unlock_irqrestore(&global_lock, flags);
745 } 745 }
746 if (is_realtime(t) && budget_enforced(t) && budget_exhausted(t)) { 746 if (is_realtime(t) && budget_enforced(t) && budget_exhausted(t)) {
747 if (!is_np(t)) { 747 if (!is_np(t)) {