diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-07 18:23:54 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-07 18:23:54 +0000 |
commit | 02d989c0efbb65b59226f77fa5ed536308627d8f (patch) | |
tree | 2906b5ce117e693de449ee39bdb41430a6eed31b /testsuites/sptests/spsize/size.c | |
parent | 2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-02d989c0efbb65b59226f77fa5ed536308627d8f.tar.bz2 |
2008-08-07 Joel Sherrill <joel.sherrill@OARcorp.com>
* spsize/size.c: Make _System_state_Is_multiprocessing unused when
multiprocessing is not enabled. Saves one more variable from single
processor configuration.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spsize/size.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index 9ba23c3cb1..7c21913d93 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -336,8 +336,10 @@ uninitialized = /*status.h*/ 0 + -/*sysstate.h*/ (sizeof _System_state_Is_multiprocessing) + - (sizeof _System_state_Current) + +/*sysstate.h*/ (sizeof _System_state_Current) + +#if defined(RTEMS_MULTIPROCESSING) + (sizeof _System_state_Is_multiprocessing) + +#endif #if defined(RTEMS_MULTIPROCESSING) /*taskmp.h*/ 0 + |