diff options
Diffstat (limited to 'cpukit/score/src/objectgetisr.c')
-rw-r--r-- | cpukit/score/src/objectgetisr.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpukit/score/src/objectgetisr.c b/cpukit/score/src/objectgetisr.c index 3a185ce125..71f62fe482 100644 --- a/cpukit/score/src/objectgetisr.c +++ b/cpukit/score/src/objectgetisr.c @@ -43,10 +43,12 @@ Objects_Control *_Objects_Get_isr_disable( return NULL; } -#if defined(RTEMS_MULTIPROCESSING) - *location = _Objects_MP_Is_remote( information, id ); -#else *location = OBJECTS_ERROR; + +#if defined(RTEMS_MULTIPROCESSING) + if ( _Objects_MP_Is_remote( id, information ) ) { + *location = OBJECTS_REMOTE; + } #endif return NULL; |