Cleaned up some multiprocessing issues.

This commit is contained in:
Joel Sherrill
1999-05-17 22:45:47 +00:00
parent bd83f4738f
commit 86cb89f05f
2 changed files with 30 additions and 34 deletions

View File

@@ -31,20 +31,6 @@
#include <rtems/rtems/options.h>
#include <rtems/rtems/support.h>
/*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
@@ -464,7 +450,11 @@ rtems_status_code rtems_message_queue_broadcast(
buffer,
size,
id,
_MESSAGE_QUEUE_CORE_MESSAGE_QUEUE_MP_SUPPORT,
#if defined(RTEMS_MULTIPROCESSING)
_Message_queue_Core_message_queue_mp_support,
#else
NULL,
#endif
count
);
@@ -728,7 +718,11 @@ rtems_status_code _Message_queue_Submit(
buffer,
size,
id,
_MESSAGE_QUEUE_CORE_MESSAGE_QUEUE_MP_SUPPORT
#if defined(RTEMS_MULTIPROCESSING)
_Message_queue_Core_message_queue_mp_support,
#else
NULL,
#endif
);
break;
case MESSAGE_QUEUE_URGENT_REQUEST:
@@ -737,7 +731,11 @@ rtems_status_code _Message_queue_Submit(
buffer,
size,
id,
_MESSAGE_QUEUE_CORE_MESSAGE_QUEUE_MP_SUPPORT
#if defined(RTEMS_MULTIPROCESSING)
_Message_queue_Core_message_queue_mp_support,
#else
NULL,
#endif
);
break;
default: