diff options
Diffstat (limited to 'litmus/sched_gsn_edf.c')
-rw-r--r-- | litmus/sched_gsn_edf.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/litmus/sched_gsn_edf.c b/litmus/sched_gsn_edf.c index e290aed53d4d..886bd14f677c 100644 --- a/litmus/sched_gsn_edf.c +++ b/litmus/sched_gsn_edf.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #ifdef CONFIG_LITMUS_NESTED_LOCKING | 35 | #ifdef CONFIG_LITMUS_NESTED_LOCKING |
36 | #include <litmus/rsm_lock.h> | 36 | #include <litmus/fifo_lock.h> |
37 | #include <litmus/ikglp_lock.h> | 37 | #include <litmus/ikglp_lock.h> |
38 | #endif | 38 | #endif |
39 | 39 | ||
@@ -1457,27 +1457,27 @@ static void nested_decrease_priority_inheritance(struct task_struct* t, | |||
1457 | } | 1457 | } |
1458 | 1458 | ||
1459 | 1459 | ||
1460 | /* ******************** RSM MUTEX ********************** */ | 1460 | /* ******************** FIFO MUTEX ********************** */ |
1461 | 1461 | ||
1462 | static struct litmus_lock_ops gsnedf_rsm_mutex_lock_ops = { | 1462 | static struct litmus_lock_ops gsnedf_fifo_mutex_lock_ops = { |
1463 | .lock = rsm_mutex_lock, | 1463 | .lock = fifo_mutex_lock, |
1464 | .unlock = rsm_mutex_unlock, | 1464 | .unlock = fifo_mutex_unlock, |
1465 | .close = rsm_mutex_close, | 1465 | .close = fifo_mutex_close, |
1466 | .deallocate = rsm_mutex_free, | 1466 | .deallocate = fifo_mutex_free, |
1467 | 1467 | ||
1468 | .propagate_increase_inheritance = rsm_mutex_propagate_increase_inheritance, | 1468 | .propagate_increase_inheritance = fifo_mutex_propagate_increase_inheritance, |
1469 | .propagate_decrease_inheritance = rsm_mutex_propagate_decrease_inheritance, | 1469 | .propagate_decrease_inheritance = fifo_mutex_propagate_decrease_inheritance, |
1470 | 1470 | ||
1471 | #ifdef CONFIG_LITMUS_DGL_SUPPORT | 1471 | #ifdef CONFIG_LITMUS_DGL_SUPPORT |
1472 | .dgl_lock = rsm_mutex_dgl_lock, | 1472 | .dgl_lock = fifo_mutex_dgl_lock, |
1473 | .is_owner = rsm_mutex_is_owner, | 1473 | .is_owner = fifo_mutex_is_owner, |
1474 | .enable_priority = rsm_mutex_enable_priority, | 1474 | .enable_priority = fifo_mutex_enable_priority, |
1475 | #endif | 1475 | #endif |
1476 | }; | 1476 | }; |
1477 | 1477 | ||
1478 | static struct litmus_lock* gsnedf_new_rsm_mutex(void) | 1478 | static struct litmus_lock* gsnedf_new_fifo_mutex(void) |
1479 | { | 1479 | { |
1480 | return rsm_mutex_new(&gsnedf_rsm_mutex_lock_ops); | 1480 | return fifo_mutex_new(&gsnedf_fifo_mutex_lock_ops); |
1481 | } | 1481 | } |
1482 | 1482 | ||
1483 | /* ******************** IKGLP ********************** */ | 1483 | /* ******************** IKGLP ********************** */ |
@@ -1739,8 +1739,8 @@ static long gsnedf_allocate_lock(struct litmus_lock **lock, int type, | |||
1739 | *lock = gsnedf_new_fmlp(); | 1739 | *lock = gsnedf_new_fmlp(); |
1740 | break; | 1740 | break; |
1741 | #ifdef CONFIG_LITMUS_NESTED_LOCKING | 1741 | #ifdef CONFIG_LITMUS_NESTED_LOCKING |
1742 | case RSM_MUTEX: | 1742 | case FIFO_MUTEX: |
1743 | *lock = gsnedf_new_rsm_mutex(); | 1743 | *lock = gsnedf_new_fifo_mutex(); |
1744 | break; | 1744 | break; |
1745 | 1745 | ||
1746 | case IKGLP_SEM: | 1746 | case IKGLP_SEM: |