summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/objectmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/objectmp.c')
-rw-r--r--cpukit/score/src/objectmp.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c
index 0df9190beb..0628544f70 100644
--- a/cpukit/score/src/objectmp.c
+++ b/cpukit/score/src/objectmp.c
@@ -351,9 +351,9 @@ Objects_Name_or_id_lookup_errors _Objects_MP_Global_name_search(
return status;
}
-Objects_Locations _Objects_MP_Is_remote(
- Objects_Information *information,
- Objects_Id the_id
+bool _Objects_MP_Is_remote(
+ Objects_Id the_id,
+ const Objects_Information *information
)
{
Objects_MP_Control *the_global_object;
@@ -371,11 +371,7 @@ Objects_Locations _Objects_MP_Is_remote(
_Objects_MP_Global_release( &lock_context );
- if ( the_global_object != NULL ) {
- return OBJECTS_REMOTE;
- } else {
- return OBJECTS_ERROR;
- }
+ return the_global_object != NULL;
}
Objects_MP_Control *_Objects_MP_Allocate_global_object( void )