From 22ce0881915cff33652a896907fa76a4040648da Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 7 Aug 2008 18:23:48 +0000 Subject: 2008-08-07 Joel Sherrill * score/include/rtems/score/sysstate.h, score/inline/rtems/score/sysstate.inl, score/src/thread.c: Make _System_state_Is_multiprocessing unused when multiprocessing is not enabled. Saves one more variable from single processor configuration. --- cpukit/score/src/thread.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/score/src/thread.c') 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 */ -- cgit v1.2.3