aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/kfmlp_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/kfmlp_lock.c')
-rw-r--r--litmus/kfmlp_lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/kfmlp_lock.c b/litmus/kfmlp_lock.c
index bff857ed8d4e..ab472330095d 100644
--- a/litmus/kfmlp_lock.c
+++ b/litmus/kfmlp_lock.c
@@ -267,7 +267,7 @@ int kfmlp_lock(struct litmus_lock* l)
267 * when we wake up; we are guaranteed to have the lock since 267 * when we wake up; we are guaranteed to have the lock since
268 * there is only one wake up per release (or steal). 268 * there is only one wake up per release (or steal).
269 */ 269 */
270 schedule(); 270 suspend_for_lock();
271 271
272 272
273 if(my_queue->owner == t) { 273 if(my_queue->owner == t) {