diff options
Diffstat (limited to 'litmus/sched_cedf.c')
-rw-r--r-- | litmus/sched_cedf.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/litmus/sched_cedf.c b/litmus/sched_cedf.c index 61d682d9f415..9b6d25f11c93 100644 --- a/litmus/sched_cedf.c +++ b/litmus/sched_cedf.c | |||
@@ -1542,7 +1542,11 @@ static struct litmus_lock_ops cedf_fifo_mutex_lock_ops = { | |||
1542 | #ifdef CONFIG_LITMUS_DGL_SUPPORT | 1542 | #ifdef CONFIG_LITMUS_DGL_SUPPORT |
1543 | .dgl_lock = fifo_mutex_dgl_lock, | 1543 | .dgl_lock = fifo_mutex_dgl_lock, |
1544 | .is_owner = fifo_mutex_is_owner, | 1544 | .is_owner = fifo_mutex_is_owner, |
1545 | .get_owner = fifo_mutex_get_owner, | ||
1545 | .enable_priority = fifo_mutex_enable_priority, | 1546 | .enable_priority = fifo_mutex_enable_priority, |
1547 | |||
1548 | .dgl_can_quick_lock = NULL, | ||
1549 | .dgl_quick_lock = NULL, | ||
1546 | #endif | 1550 | #endif |
1547 | }; | 1551 | }; |
1548 | 1552 | ||
@@ -1558,15 +1562,16 @@ static struct litmus_lock_ops cedf_prioq_mutex_lock_ops = { | |||
1558 | .unlock = prioq_mutex_unlock, | 1562 | .unlock = prioq_mutex_unlock, |
1559 | .close = prioq_mutex_close, | 1563 | .close = prioq_mutex_close, |
1560 | .deallocate = prioq_mutex_free, | 1564 | .deallocate = prioq_mutex_free, |
1561 | 1565 | ||
1562 | .propagate_increase_inheritance = prioq_mutex_propagate_increase_inheritance, | 1566 | .propagate_increase_inheritance = prioq_mutex_propagate_increase_inheritance, |
1563 | .propagate_decrease_inheritance = prioq_mutex_propagate_decrease_inheritance, | 1567 | .propagate_decrease_inheritance = prioq_mutex_propagate_decrease_inheritance, |
1564 | 1568 | ||
1565 | #ifdef CONFIG_LITMUS_DGL_SUPPORT | 1569 | #ifdef CONFIG_LITMUS_DGL_SUPPORT |
1566 | .dgl_lock = prioq_mutex_dgl_lock, | 1570 | .dgl_lock = prioq_mutex_dgl_lock, |
1567 | .is_owner = prioq_mutex_is_owner, | 1571 | .is_owner = prioq_mutex_is_owner, |
1572 | .get_owner = prioq_mutex_get_owner, | ||
1568 | .enable_priority = prioq_mutex_enable_priority, | 1573 | .enable_priority = prioq_mutex_enable_priority, |
1569 | 1574 | ||
1570 | .dgl_can_quick_lock = prioq_mutex_dgl_can_quick_lock, | 1575 | .dgl_can_quick_lock = prioq_mutex_dgl_can_quick_lock, |
1571 | .dgl_quick_lock = prioq_mutex_dgl_quick_lock, | 1576 | .dgl_quick_lock = prioq_mutex_dgl_quick_lock, |
1572 | #endif | 1577 | #endif |
@@ -1637,7 +1642,7 @@ static long cedf_allocate_lock(struct litmus_lock **lock, int type, | |||
1637 | case PRIOQ_MUTEX: | 1642 | case PRIOQ_MUTEX: |
1638 | *lock = cedf_new_prioq_mutex(); | 1643 | *lock = cedf_new_prioq_mutex(); |
1639 | break; | 1644 | break; |
1640 | 1645 | ||
1641 | case IKGLP_SEM: | 1646 | case IKGLP_SEM: |
1642 | *lock = cedf_new_ikglp(args); | 1647 | *lock = cedf_new_ikglp(args); |
1643 | break; | 1648 | break; |