aboutsummaryrefslogtreecommitdiffstats
path: root/src/chmtx.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-12 11:24:24 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-12 11:24:24 +0000
commit1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9 (patch)
tree6038803fa0fb48739a9ade81d45f5d774a1b9931 /src/chmtx.c
parent7500baf6cd6457ce77b5a474031f35bd5b30fb6a (diff)
downloadChibiOS-1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9.tar.gz
ChibiOS-1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9.tar.bz2
ChibiOS-1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@225 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chmtx.c')
-rw-r--r--src/chmtx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chmtx.c b/src/chmtx.c
index 6d9e4e18f..a6379836d 100644
--- a/src/chmtx.c
+++ b/src/chmtx.c
@@ -79,7 +79,7 @@ void chMtxLockS(Mutex *mp) {
prio_insert(dequeue(tp), &tp->p_wtthdp->p_msgqueue);
#endif
case PRREADY:
- chSchReadyI(dequeue(tp), RDY_OK);
+ chSchReadyI(dequeue(tp));
}
break;
}
@@ -209,7 +209,7 @@ void chMtxUnlockS(void) {
mp = mp->m_next;
}
currp->p_prio = newprio;
- chSchReadyI(tp, RDY_OK);
+ chSchReadyI(tp);
}
}
@@ -229,7 +229,7 @@ void chMtxUnlockAll(void) {
currp->p_mtxlist = mp->m_next;
mp->m_owner = NULL;
if (chMtxQueueNotEmptyS(mp))
- chSchReadyI(fifo_remove(&mp->m_queue), RDY_OK);
+ chSchReadyI(fifo_remove(&mp->m_queue));
} while (currp->p_mtxlist != NULL);
currp->p_prio = currp->p_realprio;
chSchRescheduleS();