summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/proc.h')
-rw-r--r--freebsd/sys/sys/proc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/freebsd/sys/sys/proc.h b/freebsd/sys/sys/proc.h
index cd10421e..7bf640c7 100644
--- a/freebsd/sys/sys/proc.h
+++ b/freebsd/sys/sys/proc.h
@@ -198,6 +198,11 @@ struct rusage_ext {
* Thread context. Processes may have multiple threads.
*/
struct thread {
+#ifdef __rtems__
+ rtems_chain_node td_node;
+ Thread_Control *td_thread;
+ char td_name [16];
+#endif /* __rtems__ */
#ifndef __rtems__
struct mtx *volatile td_lock; /* replaces sched lock */
#endif /* __rtems__ */
@@ -314,10 +319,6 @@ struct thread {
const char *td_vnet_lpush; /* (k) Debugging vnet push / pop. */
struct rusage_ext td_rux; /* (t) Internal rusage information. */
struct vm_map_entry *td_map_def_user; /* (k) Deferred entries. */
-#else /* __rtems__ */
- rtems_chain_node td_node;
- rtems_id td_id;
- char td_name [16];
#endif /* __rtems__ */
};