From 97e2729d1a3432b9792b82ce88ce6d804a104f7a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 23 Nov 1998 17:38:09 +0000 Subject: Added --disable-multiprocessing flag and modified a lot of files to make it work. --- cpukit/score/src/coremsg.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpukit/score/src/coremsg.c') diff --git a/cpukit/score/src/coremsg.c b/cpukit/score/src/coremsg.c index 34778d26cd..1300b49951 100644 --- a/cpukit/score/src/coremsg.c +++ b/cpukit/score/src/coremsg.c @@ -26,7 +26,9 @@ #include #include #include +#if defined(RTEMS_MULTIPROCESSING) #include +#endif /*PAGE * @@ -217,8 +219,10 @@ CORE_message_queue_Status _CORE_message_queue_Broadcast( *(unsigned32 *)the_thread->Wait.return_argument_1 = size; +#if defined(RTEMS_MULTIPROCESSING) if ( !_Objects_Is_local_id( the_thread->Object.id ) ) (*api_message_queue_mp_support) ( the_thread, id ); +#endif } *count = number_broadcasted; @@ -394,8 +398,10 @@ CORE_message_queue_Status _CORE_message_queue_Submit( ); *(unsigned32 *)the_thread->Wait.return_argument_1 = size; +#if defined(RTEMS_MULTIPROCESSING) if ( !_Objects_Is_local_id( the_thread->Object.id ) ) (*api_message_queue_mp_support) ( the_thread, id ); +#endif return CORE_MESSAGE_QUEUE_STATUS_SUCCESSFUL; } -- cgit v1.2.3