diff options
Diffstat (limited to 'cpukit/rtems/src/semcreate.c')
-rw-r--r-- | cpukit/rtems/src/semcreate.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cpukit/rtems/src/semcreate.c b/cpukit/rtems/src/semcreate.c index 6cdd877cce..b57b635d85 100644 --- a/cpukit/rtems/src/semcreate.c +++ b/cpukit/rtems/src/semcreate.c @@ -57,11 +57,8 @@ rtems_status_code rtems_semaphore_create( return RTEMS_INVALID_ADDRESS; #if defined(RTEMS_MULTIPROCESSING) - if ( - _Attributes_Is_global( attribute_set ) - && !_System_state_Is_multiprocessing - ) { - return RTEMS_MP_NOT_CONFIGURED; + if ( !_System_state_Is_multiprocessing ) { + attribute_set = _Attributes_Clear( attribute_set, RTEMS_GLOBAL ); } #endif |