Module: xenomai-forge
Branch: master
Commit: bd946df211c9c7e316287801957fd21407285875
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=bd946df211c9c7e316287801957fd21407285875

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Nov 12 11:17:26 2011 +0100

cobalt/nucleus: remove wait_u from TCB

With the removal of the former native API from kernel space, we lost
the last user of the wait_u union, obsoleted by the wait_context
mechanism. Get rid of the relevant data from our thread control block.

---

 include/cobalt/nucleus/thread.h |   17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diff --git a/include/cobalt/nucleus/thread.h b/include/cobalt/nucleus/thread.h
index 2a820b4..dfa1d74 100644
--- a/include/cobalt/nucleus/thread.h
+++ b/include/cobalt/nucleus/thread.h
@@ -256,22 +256,7 @@ typedef struct xnthread {
 
        xnticks_t rrcredit;             /* Remaining round-robin time credit 
(ticks) */
 
-       union {
-               struct {
-                       /*
-                        * XXX: the buffer struct should disappear as
-                        * soon as all IPCs are converted to use
-                        * buffer descriptors instead (bufd).
-                        */
-                       void *ptr;
-                       size_t size;
-               } buffer;
-               struct xnbufd *bufd;
-               size_t size;
-       } wait_u;
-
-       /* Active wait context - Obsoletes wait_u. */
-       struct xnthread_wait_context *wcontext;
+       struct xnthread_wait_context *wcontext; /* Active wait context. */
 
        struct {
                xnstat_counter_t ssw;   /* Primary -> secondary mode switch 
count */


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

Reply via email to