Changeset 46f05b9 in rtems for cpukit/score/src/smp.c


Ignore:
Timestamp:
Apr 5, 2017, 9:28:46 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
9b91c84
Parents:
75e71b2
Message:

SMP: Simplify SMP multicast actions

File:
1 edited

Legend:

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

    r75e71b2 r46f05b9  
    226226
    227227void _SMP_Send_message_multicast(
    228     const size_t setsize,
    229     const cpu_set_t *cpus,
    230     unsigned long message
     228  const Processor_mask targets,
     229  unsigned long        message
    231230)
    232231{
     
    235234
    236235  for ( cpu_index = 0 ; cpu_index < cpu_count ; ++cpu_index ) {
    237     if ( CPU_ISSET_S( cpu_index, setsize, cpus ) ) {
     236    if ( _Processor_mask_Is_set( targets, cpu_index ) ) {
    238237      _SMP_Send_message( cpu_index, message );
    239238    }
Note: See TracChangeset for help on using the changeset viewer.