From 50f32b11653429546d7b8ff2693b5232b885e201 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 18 Apr 2004 06:05:35 +0000 Subject: Remove stray white spaces. --- cpukit/rtems/src/msgqcreate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/rtems/src/msgqcreate.c') diff --git a/cpukit/rtems/src/msgqcreate.c b/cpukit/rtems/src/msgqcreate.c index 4f0d6c45ab..4b4aa02554 100644 --- a/cpukit/rtems/src/msgqcreate.c +++ b/cpukit/rtems/src/msgqcreate.c @@ -68,7 +68,7 @@ rtems_status_code rtems_message_queue_create( return RTEMS_INVALID_NAME; #if defined(RTEMS_MULTIPROCESSING) - if ( (is_global = _Attributes_Is_global( attribute_set ) ) && + if ( (is_global = _Attributes_Is_global( attribute_set ) ) && !_System_state_Is_multiprocessing ) return RTEMS_MP_NOT_CONFIGURED; #endif @@ -86,12 +86,12 @@ rtems_status_code rtems_message_queue_create( * It seems reasonable to create a que with a large max size, * and then just send smaller msgs from remote (or all) nodes. */ - + if ( is_global && (_MPCI_table->maximum_packet_size < max_message_size) ) return RTEMS_INVALID_SIZE; #endif #endif - + _Thread_Disable_dispatch(); /* protects object pointer */ the_message_queue = _Message_queue_Allocate( count, max_message_size ); -- cgit v1.2.3