diff options
Diffstat (limited to 'cpukit/score/include/rtems/score/thread.h')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 393d431e0e..17aeacde29 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -271,7 +271,6 @@ typedef struct { * priority and ask for help operations. */ Scheduler_Node *own_node; -#endif /** * @brief The scheduler node of this thread. @@ -284,12 +283,18 @@ typedef struct { */ Scheduler_Node *node; -#if defined(RTEMS_SMP) /** * @brief The processor assigned by the current scheduler. */ struct Per_CPU_Control *cpu; #endif + + /** + * @brief The scheduler nodes of this thread. + * + * Each thread has a scheduler node for each scheduler instance. + */ + Scheduler_Node *nodes; } Thread_Scheduler_control; /** |