--- cpukit/include/rtems/score/smplockmcs.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/cpukit/include/rtems/score/smplockmcs.h b/cpukit/include/rtems/score/smplockmcs.h index 5a1ad23dc9..ce7fd72261 100644 --- a/cpukit/include/rtems/score/smplockmcs.h +++ b/cpukit/include/rtems/score/smplockmcs.h @@ -127,6 +127,17 @@ static inline void _SMP_MCS_lock_Destroy( SMP_MCS_lock_Control *lock ) (void) lock; } +/** + * @brief Acquires an SMP MCS lock. + * + * This function will not disable interrupts. The caller must ensure that the + * current thread of execution is not interrupted indefinite once it obtained + * the SMP MCS lock. + * + * @param lock The SMP MCS lock control. + * @param context The SMP MCS lock context. + * @param stats The SMP lock statistics. + */ static inline void _SMP_MCS_lock_Do_acquire( SMP_MCS_lock_Control *lock, SMP_MCS_lock_Context *context @@ -177,17 +188,6 @@ static inline void _SMP_MCS_lock_Do_acquire( #endif } -/** - * @brief Acquires an SMP MCS lock. - * - * This function will not disable interrupts. The caller must ensure that the - * current thread of execution is not interrupted indefinite once it obtained - * the SMP MCS lock. - * - * @param lock The SMP MCS lock control. - * @param context The SMP MCS lock context. - * @param stats The SMP lock statistics. - */ #if defined(RTEMS_PROFILING) #define _SMP_MCS_lock_Acquire( lock, context, stats ) \ _SMP_MCS_lock_Do_acquire( lock, context, stats ) -- 2.19.1 _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel