summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-17 22:45:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-05-17 22:45:47 +0000
commit86cb89f05f40f2914bb9d62c709fa337274a0a05 (patch)
tree5aa8634e2fb16d11696138e3440cd3b24b5a668d
parentSplit Clock Manager into one routine per file. (diff)
downloadrtems-86cb89f05f40f2914bb9d62c709fa337274a0a05.tar.bz2
Cleaned up some multiprocessing issues.
-rw-r--r--c/src/exec/rtems/src/msg.c32
-rw-r--r--cpukit/rtems/src/msg.c32
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
@@ -33,20 +33,6 @@
/*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
@@ -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
@@ -33,20 +33,6 @@
/*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
@@ -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: