Changeset 22ce0881 in rtems for cpukit/score/src/thread.c


Ignore:
Timestamp:
Aug 7, 2008, 6:23:48 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
02d989c
Parents:
a9650433
Message:

2008-08-07 Joel Sherrill <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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/thread.c

    ra9650433 r22ce0881  
    100100    OBJECTS_INTERNAL_API,
    101101    OBJECTS_INTERNAL_THREADS,
     102#if defined(RTEMS_MULTIPROCESSING)
    102103    ( _System_state_Is_multiprocessing ) ?  2 : 1,
     104#else
     105    1,
     106#endif
    103107    sizeof( Thread_Control ),
    104108                                /* size of this object's control block */
Note: See TracChangeset for help on using the changeset viewer.