From 5d6b21198140f406a71599a2d388b6ec47ee3337 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 7 Sep 2016 09:04:45 +0200 Subject: score: Add scheduler node table for each thread Update #2556. --- cpukit/score/include/rtems/score/thread.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'cpukit/score/include/rtems/score/thread.h') 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; /** -- cgit v1.2.3