mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
2006-11-17 Joel Sherrill <joel@OARcorp.com>
* score/inline/rtems/score/object.inl, score/src/objectnametoid.c: Properly honor searching only local node even when on single CPU system.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2006-11-17 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* score/inline/rtems/score/object.inl, score/src/objectnametoid.c:
|
||||
Properly honor searching only local node even when on single CPU
|
||||
system.
|
||||
|
||||
2006-11-17 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* score/src/coresemseize.c: Add missing ISR enable.
|
||||
|
||||
@@ -116,7 +116,6 @@ RTEMS_INLINE_ROUTINE boolean _Objects_Is_class_valid(
|
||||
return TRUE; /* the_class && the_class <= OBJECTS_CLASSES_LAST; */
|
||||
}
|
||||
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
/**
|
||||
* This function returns TRUE if the node is of the local object, and
|
||||
* FALSE otherwise.
|
||||
@@ -133,7 +132,6 @@ RTEMS_INLINE_ROUTINE boolean _Objects_Is_local_node(
|
||||
{
|
||||
return ( node == _Objects_Local_node );
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This function returns TRUE if the id is of a local object, and
|
||||
|
||||
@@ -69,10 +69,9 @@ Objects_Name_or_id_lookup_errors _Objects_Name_to_id(
|
||||
search_local_node = FALSE;
|
||||
|
||||
if ( information->maximum != 0 &&
|
||||
(node == OBJECTS_SEARCH_ALL_NODES || node == OBJECTS_SEARCH_LOCAL_NODE
|
||||
#if defined(RTEMS_MULTIPROCESSING)
|
||||
|| _Objects_Is_local_node( node )
|
||||
#endif
|
||||
(node == OBJECTS_SEARCH_ALL_NODES ||
|
||||
node == OBJECTS_SEARCH_LOCAL_NODE ||
|
||||
_Objects_Is_local_node( node )
|
||||
))
|
||||
search_local_node = TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user