aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2011-07-25 11:42:33 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2011-07-25 11:42:33 -0400
commitd15b45aa2bec803ad4007bdaea983bb0db472e1e (patch)
treee18ef985cd5b4511bb0c7f216ac472e42183b094
parente1ab93add217944741e21d44a49b7f9a76af4442 (diff)
fixup: MPCP_VS don't forget to unlock
-rw-r--r--litmus/sched_pfp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/sched_pfp.c b/litmus/sched_pfp.c
index c6cd44183fbb..6ea03d6aeea7 100644
--- a/litmus/sched_pfp.c
+++ b/litmus/sched_pfp.c
@@ -684,6 +684,8 @@ static void mpcp_vspin_exit(void)
684 /* no spinning job */ 684 /* no spinning job */
685 __get_cpu_var(mpcpvs_vspin) = NULL; 685 __get_cpu_var(mpcpvs_vspin) = NULL;
686 } 686 }
687
688 spin_unlock_irqrestore(&vspin->lock, flags);
687} 689}
688 690
689static inline struct mpcp_semaphore* mpcp_from_lock(struct litmus_lock* lock) 691static inline struct mpcp_semaphore* mpcp_from_lock(struct litmus_lock* lock)