aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/budget.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/budget.c')
-rw-r--r--litmus/budget.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/litmus/budget.c b/litmus/budget.c
index dd5f311c8b4a..4f692fd4a103 100644
--- a/litmus/budget.c
+++ b/litmus/budget.c
@@ -318,8 +318,11 @@ void sobliv_revaluate_task(struct task_struct* t)
318 "CONFIG_LITMUS_NESTED_LOCKING enabled.\n"); 318 "CONFIG_LITMUS_NESTED_LOCKING enabled.\n");
319#endif 319#endif
320 320
321 /* TODO: If we hold an OMLP-family outmost lock, then we may 321 /* Move a waiter onto a FIFO queue to simulate an unlock call. */
322 * need to move a task into a fifo queue */ 322 if (tsk_rt(t)->outermost_lock &&
323 tsk_rt(t)->outermost_lock->ops->is_omlp_family) {
324 tsk_rt(t)->outermost_lock->ops->omlp_virtual_unlock(tsk_rt(t)->outermost_lock, t);
325 }
323} 326}
324 327
325 328