Ignore:
Timestamp:
Apr 14, 2014, 6:09:54 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
198c143
Parents:
73b9af2d
git-author:
Sebastian Huber <sebastian.huber@…> (04/14/14 06:09:54)
git-committer:
Sebastian Huber <sebastian.huber@…> (04/14/14 06:37:04)
Message:

sparc: Use leon multilib define

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/rtems/score/cpu.h

    r73b9af2d r67a7a2c  
    11641164  uint32_t _CPU_SMP_Initialize( uint32_t configured_cpu_count );
    11651165
    1166   uint32_t _CPU_SMP_Get_current_processor( void );
     1166  #if defined(__leon__)
     1167    static inline uint32_t _CPU_SMP_Get_current_processor( void )
     1168    {
     1169      return _LEON3_Get_current_processor();
     1170    }
     1171  #else
     1172    uint32_t _CPU_SMP_Get_current_processor( void );
     1173  #endif
    11671174
    11681175  void _CPU_SMP_Send_interrupt( uint32_t target_processor_index );
Note: See TracChangeset for help on using the changeset viewer.