Changeset 3692095 in rtems for cpukit/rtems/src/semrelease.c


Ignore:
Timestamp:
May 30, 2016, 8:41:22 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
73f2ddb
Parents:
0b713f89
git-author:
Sebastian Huber <sebastian.huber@…> (05/30/16 08:41:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/30/16 14:16:23)
Message:

rtems: Move MrsP semaphore operations

Move MrsP semaphore operations to a less prominent location. Fix field
name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/semrelease.c

    r0b713f89 r3692095  
    5050
    5151  switch ( the_semaphore->variant ) {
    52 #if defined(RTEMS_SMP)
    53     case SEMAPHORE_VARIANT_MRSP:
    54       status = _MRSP_Surrender(
    55         &the_semaphore->Core_control.mrsp,
    56         executing,
    57         &queue_context
    58       );
    59       break;
    60 #endif
    6152    case SEMAPHORE_VARIANT_MUTEX_INHERIT_PRIORITY:
    6253      status = _CORE_recursive_mutex_Surrender(
     
    9485      status = STATUS_SUCCESSFUL;
    9586      break;
     87#if defined(RTEMS_SMP)
     88    case SEMAPHORE_VARIANT_MRSP:
     89      status = _MRSP_Surrender(
     90        &the_semaphore->Core_control.MRSP,
     91        executing,
     92        &queue_context
     93      );
     94      break;
     95#endif
    9696    default:
    9797      _Assert( the_semaphore->variant == SEMAPHORE_VARIANT_COUNTING );
Note: See TracChangeset for help on using the changeset viewer.