diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-18 06:05:35 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-18 06:05:35 +0000 |
commit | 50f32b11653429546d7b8ff2693b5232b885e201 (patch) | |
tree | a8821a7e3025ef47082cc21ccbb56551382cdc3f /cpukit/rtems/src/msgqcreate.c | |
parent | Remove stray white spaces. (diff) | |
download | rtems-50f32b11653429546d7b8ff2693b5232b885e201.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to 'cpukit/rtems/src/msgqcreate.c')
-rw-r--r-- | cpukit/rtems/src/msgqcreate.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); |