diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-07 18:23:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-07 18:23:48 +0000 |
commit | 22ce0881915cff33652a896907fa76a4040648da (patch) | |
tree | befcdfff9792c18b882422fd992e66c70a67e984 /cpukit/score/src/thread.c | |
parent | Format. (diff) | |
download | rtems-22ce0881915cff33652a896907fa76a4040648da.tar.bz2 |
2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
Diffstat (limited to 'cpukit/score/src/thread.c')
-rw-r--r-- | cpukit/score/src/thread.c | 4 |
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 */ |