Ignore:
Timestamp:
Jul 7, 2017, 5:45:57 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
16347a6
Parents:
0232b28
git-author:
Sebastian Huber <sebastian.huber@…> (07/07/17 05:45:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (07/07/17 05:55:03)
Message:

score: Introduce _SMP_Get_online_processors()

Update #3059.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/smpimpl.h

    r0232b28 r76d1198  
    336336#endif
    337337
     338RTEMS_INLINE_ROUTINE const Processor_mask *_SMP_Get_online_processors( void )
     339{
     340#if defined(RTEMS_SMP)
     341  return &_SMP_Online_processors;
     342#else
     343  return &_Processor_mask_The_one_and_only.
     344#endif
     345}
     346
    338347/** @} */
    339348
Note: See TracChangeset for help on using the changeset viewer.