diff options
author | Jeremy Erickson <jerickso@cs.unc.edu> | 2011-01-20 18:44:46 -0500 |
---|---|---|
committer | Jeremy Erickson <jerickso@cs.unc.edu> | 2011-01-20 18:44:46 -0500 |
commit | e9c3286819af96857ee823bff79a60fec2025005 (patch) | |
tree | 4668fbef850fb115600d0ca2af34064186e91e0e | |
parent | 84df1f63c6a9967dc8a6c715292e92ef9b35dfa6 (diff) |
Fix a couple errors in locking code.
-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); |