Changeset 4402308b in rtems


Ignore:
Timestamp:
Dec 14, 2013, 5:56:33 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
78c4a2f
Parents:
98239f3
Message:

no_cpu/cpusmplock.h: Clean up to be compilable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/no_cpu/rtems/score/cpusmplock.h

    r98239f3 r4402308b  
    6565static inline void _CPU_SMP_lock_Acquire( CPU_SMP_lock_Control *lock )
    6666{
     67#if 0
    6768  unsigned int my_ticket = _Atomic_Fetch_and_increment( &lock->next_ticket );
    6869
     
    7071    _Wait_some_time();
    7172  }
     73#endif
    7274}
    7375
     
    7981static inline void _CPU_SMP_lock_Release( CPU_SMP_lock_Control *lock )
    8082{
     83#if 0
    8184  _Atomic_Store_and_release( &lock->now_serving, lock->now_serving + 1 );
     85#endif
    8286}
    8387
Note: See TracChangeset for help on using the changeset viewer.