From 86cb89f05f40f2914bb9d62c709fa337274a0a05 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 17 May 1999 22:45:47 +0000 Subject: Cleaned up some multiprocessing issues. --- c/src/exec/rtems/src/msg.c | 32 +++++++++++++++----------------- cpukit/rtems/src/msg.c | 32 +++++++++++++++----------------- 2 files changed, 30 insertions(+), 34 deletions(-) diff --git a/c/src/exec/rtems/src/msg.c b/c/src/exec/rtems/src/msg.c index b0222601f0..faf59b8327 100644 --- a/c/src/exec/rtems/src/msg.c +++ b/c/src/exec/rtems/src/msg.c @@ -31,20 +31,6 @@ #include #include -/*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: diff --git a/cpukit/rtems/src/msg.c b/cpukit/rtems/src/msg.c index b0222601f0..faf59b8327 100644 --- a/cpukit/rtems/src/msg.c +++ b/cpukit/rtems/src/msg.c @@ -31,20 +31,6 @@ #include #include -/*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: -- cgit v1.2.3