diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-11-02 17:21:16 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-11-02 17:21:16 +0000 |
commit | 209e68dfbd14d215f5bc78a4211ec61b079defa0 (patch) | |
tree | 36957872c10a6cd02a1db7c354e8beca73041a28 /cpukit/score/inline/rtems | |
parent | 2004-11-02 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-209e68dfbd14d215f5bc78a4211ec61b079defa0.tar.bz2 |
2004-11-02 Joel Sherrill <joel@OARcorp.com>
* posix/src/mqueueunlink.c, posix/src/semunlink.c,
score/inline/rtems/score/object.inl,
score/macros/rtems/score/object.inl: _Objects_Is_local_id() should be
avoided in single CPU configurations but always available in the
Objects Handlers API.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/inline/rtems/score/object.inl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpukit/score/inline/rtems/score/object.inl b/cpukit/score/inline/rtems/score/object.inl index 647b7f9a66..8056c30db7 100644 --- a/cpukit/score/inline/rtems/score/object.inl +++ b/cpukit/score/inline/rtems/score/object.inl @@ -150,14 +150,17 @@ RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_node( * FALSE otherwise. */ -#if defined(RTEMS_MULTIPROCESSING) RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_id( Objects_Id id ) { +#if defined(RTEMS_MULTIPROCESSING) return _Objects_Is_local_node( _Objects_Get_node(id) ); -} +#else + return TRUE; #endif +} + /*PAGE * |