[rtems commit] score: Fix _Objects_MP_Is_remote()

Sebastian Huber sebh at rtems.org
Tue Mar 29 11:43:32 UTC 2016


Module:    rtems
Branch:    master
Commit:    3feca902a2e2dac8e07637be6f5a68524a76f85a
Changeset: http://git.rtems.org/rtems/commit/?id=3feca902a2e2dac8e07637be6f5a68524a76f85a

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Mar 24 15:40:48 2016 +0100

score: Fix _Objects_MP_Is_remote()

Bug introduced by be8897644043e4378db7add02c3c9e1ac7fde563.

Update #2555.

---

 cpukit/score/src/objectmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/src/objectmp.c b/cpukit/score/src/objectmp.c
index be55fa7..c8f431f 100644
--- a/cpukit/score/src/objectmp.c
+++ b/cpukit/score/src/objectmp.c
@@ -269,7 +269,7 @@ void _Objects_MP_Is_remote (
     the_global_object = (Objects_MP_Control *) the_node;
 
     if ( _Objects_Are_ids_equal( the_global_object->Object.id, the_id ) ) {
-      _Thread_Unnest_dispatch();
+      _Objects_Allocator_unlock();
       *location   = OBJECTS_REMOTE;
       *the_object = (Objects_Control *) the_global_object;
       return;




More information about the vc mailing list