Module: xenomai-jki
Branch: for-upstream
Commit: dbc9c302b1504391dd711ca16b4a373f374f6235
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=dbc9c302b1504391dd711ca16b4a373f374f6235

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Wed Oct  6 15:56:37 2010 +0200

rtipc: Fix types of internal thread variables

Those waiters refer to generic xnthreads, not rtdm_tasks (will break
once rtdm_task_t and xnthread_t diverge).

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 ksrc/drivers/ipc/bufp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ksrc/drivers/ipc/bufp.c b/ksrc/drivers/ipc/bufp.c
index 2394a5d..8737ee2 100644
--- a/ksrc/drivers/ipc/bufp.c
+++ b/ksrc/drivers/ipc/bufp.c
@@ -180,7 +180,7 @@ static ssize_t __bufp_readbuf(struct bufp_socket *sk,
 {
        struct bufp_wait_context wait, *bufwc;
        struct rtipc_wait_context *wc;
-       rtdm_task_t *waiter;
+       xnthread_t *waiter;
        rtdm_toseq_t toseq;
        ssize_t len, ret;
        size_t rbytes, n;
@@ -431,7 +431,7 @@ static ssize_t __bufp_writebuf(struct bufp_socket *rsk,
 {
        struct bufp_wait_context wait, *bufwc;
        struct rtipc_wait_context *wc;
-       rtdm_task_t *waiter;
+       xnthread_t *waiter;
        rtdm_toseq_t toseq;
        ssize_t len, ret;
        size_t wbytes, n;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to