From 97e2729d1a3432b9792b82ce88ce6d804a104f7a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 23 Nov 1998 17:38:09 +0000 Subject: Added --disable-multiprocessing flag and modified a lot of files to make it work. --- cpukit/score/src/object.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cpukit/score/src/object.c') diff --git a/cpukit/score/src/object.c b/cpukit/score/src/object.c index 7585235d3b..81bca89d7c 100644 --- a/cpukit/score/src/object.c +++ b/cpukit/score/src/object.c @@ -16,7 +16,9 @@ #include #include #include +#if defined(RTEMS_MULTIPROCESSING) #include +#endif #include #include #include @@ -51,11 +53,13 @@ void _Objects_Handler_initialization( _Objects_Local_node = node; _Objects_Maximum_nodes = maximum_nodes; +#if defined(RTEMS_MULTIPROCESSING) _Objects_MP_Handler_initialization( node, maximum_nodes, maximum_global_objects ); +#endif } /*PAGE @@ -378,7 +382,11 @@ Objects_Name_to_id_errors _Objects_Name_to_id( if ( _Objects_Is_local_node( node ) || node == OBJECTS_SEARCH_LOCAL_NODE ) return OBJECTS_INVALID_NAME; +#if defined(RTEMS_MULTIPROCESSING) return ( _Objects_MP_Global_name_search( information, name, node, id ) ); +#else + return OBJECTS_INVALID_NAME; +#endif } /*PAGE @@ -423,8 +431,12 @@ Objects_Control *_Objects_Get( return( NULL ); } *location = OBJECTS_ERROR; +#if defined(RTEMS_MULTIPROCESSING) _Objects_MP_Is_remote( information, id, location, &the_object ); return the_object; +#else + return NULL; +#endif } -- cgit v1.2.3