diff options
-rw-r--r-- | litmus/sched_mc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/litmus/sched_mc.c b/litmus/sched_mc.c index 6a6d4c52065c..ead9402350de 100644 --- a/litmus/sched_mc.c +++ b/litmus/sched_mc.c | |||
@@ -737,6 +737,7 @@ static noinline void job_completion(struct task_struct *t, int forced) | |||
737 | */ | 737 | */ |
738 | static void mc_tick(struct task_struct* t) | 738 | static void mc_tick(struct task_struct* t) |
739 | { | 739 | { |
740 | unsigned long flags; | ||
740 | if (is_ghost(t)) { | 741 | if (is_ghost(t)) { |
741 | raw_spin_lock_irqsave(&global_lock, flags); | 742 | raw_spin_lock_irqsave(&global_lock, flags); |
742 | update_ghost_time(t); | 743 | update_ghost_time(t); |