Changeset 36a52ab in rtems


Ignore:
Timestamp:
Feb 5, 2014, 2:26:42 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
1c1c2a0
Parents:
3d77001
git-author:
Sebastian Huber <sebastian.huber@…> (02/05/14 14:26:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/05/14 14:46:30)
Message:

bsp/leon3: Avoid magic delays for IPI broadcast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c

    r3d77001 r36a52ab  
    106106
    107107  for ( dest_cpu=0 ; dest_cpu < max_cpus ; dest_cpu++ ) {
    108     if ( cpu == dest_cpu )
    109       continue;
    110     _CPU_SMP_Send_interrupt( dest_cpu );
    111     /* this is likely needed due to the ISR code not being SMP aware yet */
    112     bsp_smp_delay( 100000 );
     108    if ( cpu != dest_cpu ) {
     109      _CPU_SMP_Send_interrupt( dest_cpu );
     110    }
    113111  }
    114112}
Note: See TracChangeset for help on using the changeset viewer.