aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/sched_cedf.c
diff options
context:
space:
mode:
Diffstat (limited to 'litmus/sched_cedf.c')
-rw-r--r--litmus/sched_cedf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/litmus/sched_cedf.c b/litmus/sched_cedf.c
index b931c83579bc..024470a7fb58 100644
--- a/litmus/sched_cedf.c
+++ b/litmus/sched_cedf.c
@@ -2380,6 +2380,7 @@ static void nested_decrease_priority_inheritance(struct task_struct* t,
2380static struct litmus_lock_ops cedf_fifo_mutex_lock_ops = { 2380static struct litmus_lock_ops cedf_fifo_mutex_lock_ops = {
2381 .lock = fifo_mutex_lock, 2381 .lock = fifo_mutex_lock,
2382 .unlock = fifo_mutex_unlock, 2382 .unlock = fifo_mutex_unlock,
2383 .should_yield_lock = fifo_mutex_should_yield_lock,
2383 .close = fifo_mutex_close, 2384 .close = fifo_mutex_close,
2384 .deallocate = fifo_mutex_free, 2385 .deallocate = fifo_mutex_free,
2385 2386
@@ -2414,6 +2415,7 @@ static struct litmus_lock* cedf_new_fifo_mutex(void)
2414static struct litmus_lock_ops cedf_prioq_mutex_lock_ops = { 2415static struct litmus_lock_ops cedf_prioq_mutex_lock_ops = {
2415 .lock = prioq_mutex_lock, 2416 .lock = prioq_mutex_lock,
2416 .unlock = prioq_mutex_unlock, 2417 .unlock = prioq_mutex_unlock,
2418 .should_yield_lock = prioq_mutex_should_yield_lock,
2417 .close = prioq_mutex_close, 2419 .close = prioq_mutex_close,
2418 .deallocate = prioq_mutex_free, 2420 .deallocate = prioq_mutex_free,
2419 2421
@@ -2448,6 +2450,7 @@ static struct litmus_lock* cedf_new_prioq_mutex(void)
2448static struct litmus_lock_ops cedf_ikglp_lock_ops = { 2450static struct litmus_lock_ops cedf_ikglp_lock_ops = {
2449 .lock = ikglp_lock, 2451 .lock = ikglp_lock,
2450 .unlock = ikglp_unlock, 2452 .unlock = ikglp_unlock,
2453 .should_yield_lock = NULL,
2451 .close = ikglp_close, 2454 .close = ikglp_close,
2452 .deallocate = ikglp_free, 2455 .deallocate = ikglp_free,
2453 2456
@@ -2479,6 +2482,7 @@ static struct litmus_lock* cedf_new_ikglp(void* __user arg)
2479static struct litmus_lock_ops cedf_kfmlp_lock_ops = { 2482static struct litmus_lock_ops cedf_kfmlp_lock_ops = {
2480 .lock = kfmlp_lock, 2483 .lock = kfmlp_lock,
2481 .unlock = kfmlp_unlock, 2484 .unlock = kfmlp_unlock,
2485 .should_yield_lock = NULL,
2482 .close = kfmlp_close, 2486 .close = kfmlp_close,
2483 .deallocate = kfmlp_free, 2487 .deallocate = kfmlp_free,
2484 2488