diff options
Diffstat (limited to 'c/src/exec/rtems')
-rw-r--r-- | c/src/exec/rtems/src/msg.c | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/c/src/exec/rtems/src/msg.c b/c/src/exec/rtems/src/msg.c index 2768050d8f..b0222601f0 100644 --- a/c/src/exec/rtems/src/msg.c +++ b/c/src/exec/rtems/src/msg.c @@ -33,6 +33,20 @@ /*PAGE * + * _MESSAGE_QUEUE_CORE_MESSAGE_QUEUE_MP_SUPPORT + * + * Condition support for the MP. Helps the macro build. + * + */ + +#if defined(RTEMS_MULTIPROCESSING) +#define _MESSAGE_QUEUE_CORE_MESSAGE_QUEUE_MP_SUPPORT _Message_queue_Core_message_queue_mp_support +#else +#define _MESSAGE_QUEUE_CORE_MESSAGE_QUEUE_MP_SUPPORT NULL +#endif + +/*PAGE + * * _Message_queue_Manager_initialization * * This routine initializes all message queue manager related @@ -450,11 +464,7 @@ rtems_status_code rtems_message_queue_broadcast( buffer, size, id, -#if defined(RTEMS_MULTIPROCESSING) - _Message_queue_Core_message_queue_mp_support, -#else - NULL, -#endif + _MESSAGE_QUEUE_CORE_MESSAGE_QUEUE_MP_SUPPORT, count ); @@ -718,11 +728,7 @@ rtems_status_code _Message_queue_Submit( buffer, size, id, -#if defined(RTEMS_MULTIPROCESSING) - _Message_queue_Core_message_queue_mp_support -#else - NULL -#endif + _MESSAGE_QUEUE_CORE_MESSAGE_QUEUE_MP_SUPPORT ); break; case MESSAGE_QUEUE_URGENT_REQUEST: @@ -731,11 +737,7 @@ rtems_status_code _Message_queue_Submit( buffer, size, id, -#if defined(RTEMS_MULTIPROCESSING) - _Message_queue_Core_message_queue_mp_support -#else - NULL -#endif + _MESSAGE_QUEUE_CORE_MESSAGE_QUEUE_MP_SUPPORT ); break; default: |