summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/thread.c')
-rw-r--r--cpukit/score/src/thread.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c
index a8032598d2..31e1d31b86 100644
--- a/cpukit/score/src/thread.c
+++ b/cpukit/score/src/thread.c
@@ -99,7 +99,11 @@ void _Thread_Handler_initialization(
&_Thread_Internal_information,
OBJECTS_INTERNAL_API,
OBJECTS_INTERNAL_THREADS,
+#if defined(RTEMS_MULTIPROCESSING)
( _System_state_Is_multiprocessing ) ? 2 : 1,
+#else
+ 1,
+#endif
sizeof( Thread_Control ),
/* size of this object's control block */
TRUE, /* TRUE if names for this object are strings */