diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-11-01 16:35:42 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-11-01 16:35:42 +0000 |
commit | 6ca6ef40cf0baefa0dd4e87404d1de9881d5f6a1 (patch) | |
tree | 00a5ed2377e078ae86552552c0632d4d816293fa /cpukit/libmisc/monitor/mon-manager.c | |
parent | 2004-11-01 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-6ca6ef40cf0baefa0dd4e87404d1de9881d5f6a1.tar.bz2 |
2004-11-01 Joel Sherrill <joel@OARcorp.com>
* libmisc/monitor/mon-manager.c, libmisc/monitor/mon-object.c: Remove
references to _Object_Is_local in single processor configurations.
Diffstat (limited to 'cpukit/libmisc/monitor/mon-manager.c')
-rw-r--r-- | cpukit/libmisc/monitor/mon-manager.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/libmisc/monitor/mon-manager.c b/cpukit/libmisc/monitor/mon-manager.c index 7e7a269cd6..3a405608fb 100644 --- a/cpukit/libmisc/monitor/mon-manager.c +++ b/cpukit/libmisc/monitor/mon-manager.c @@ -34,8 +34,10 @@ rtems_monitor_manager_next( * When we are called, it must be local */ - if ( ! _Objects_Is_local_id(*next_id)) +#if defined(RTEMS_MULTIPROCESSING) + if ( ! _Objects_Is_local_id(*next_id) ) goto done; +#endif object = _Objects_Get_next(table, *next_id, &location, next_id); @@ -49,6 +51,8 @@ rtems_monitor_manager_next( _Objects_Copy_name_raw(&object->name, ©->name, sizeof(copy->name)); } +#if defined(RTEMS_MULTIPROCESSING) done: +#endif return object; } |