[PATCH 5/8] mpci: Fix _Objects_MP_Is_remote()

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Mar 24 14:57:44 UTC 2016


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;
-- 
1.8.4.5




More information about the devel mailing list