aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/threads.h')
-rw-r--r--src/include/threads.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/threads.h b/src/include/threads.h
index 29ed7f21f..be48fcbb3 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -59,6 +59,8 @@ struct Thread {
msg_t p_rdymsg; /**< Thread wakeup code.*/
msg_t p_exitcode; /**< The thread exit code
(@p PREXIT state).*/
+ void *p_wtobjp; /**< Generic kernel object pointer used
+ for opaque access.*/
#if CH_USE_SEMAPHORES
Semaphore *p_wtsemp; /**< Semaphore where the thread is
waiting on (@p PRWTSEM state).*/
@@ -79,10 +81,6 @@ struct Thread {
eventmask_t p_ewmask; /**< Enabled events mask (@p PRWTOREVT
or @p PRWTANDEVT states).*/
#endif
-#if CH_USE_TRACE
- void *p_wtobjp; /**< Generic kernel object pointer used
- for opaque access.*/
-#endif
};
/*
* Start of the optional fields.