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/inline | |
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/inline')
-rw-r--r-- | cpukit/score/inline/rtems/score/sysstate.inl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/inline/rtems/score/sysstate.inl b/cpukit/score/inline/rtems/score/sysstate.inl index a786c40476..28e59c0416 100644 --- a/cpukit/score/inline/rtems/score/sysstate.inl +++ b/cpukit/score/inline/rtems/score/sysstate.inl @@ -33,7 +33,9 @@ RTEMS_INLINE_ROUTINE void _System_state_Handler_initialization ( ) { _System_state_Current = SYSTEM_STATE_BEFORE_INITIALIZATION; - _System_state_Is_multiprocessing = is_multiprocessing; + #if defined(RTEMS_MULTIPROCESSING) + _System_state_Is_multiprocessing = is_multiprocessing; + #endif } /** |