From 3bf4a9fac441f90ccb79da69c67974d903da4c1a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 20 Apr 2015 08:52:52 +0200 Subject: score: _Objects_Get_isr_disable() Do not disable thread dispatching and do not acquire the Giant lock. This makes it possible to use this object get variant for fine grained locking. Update #2273. --- cpukit/score/src/objectgetisr.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'cpukit/score/src/objectgetisr.c') diff --git a/cpukit/score/src/objectgetisr.c b/cpukit/score/src/objectgetisr.c index 4feb7aaffb..b1212ac9c7 100644 --- a/cpukit/score/src/objectgetisr.c +++ b/cpukit/score/src/objectgetisr.c @@ -33,18 +33,12 @@ Objects_Control *_Objects_Get_isr_disable( index = id - information->minimum_id + 1; if ( information->maximum >= index ) { -#if defined(RTEMS_SMP) - _Thread_Disable_dispatch(); -#endif _ISR_lock_ISR_disable( lock_context ); if ( (the_object = information->local_table[ index ]) != NULL ) { *location = OBJECTS_LOCAL; return the_object; } _ISR_lock_ISR_enable( lock_context ); -#if defined(RTEMS_SMP) - _Thread_Enable_dispatch(); -#endif *location = OBJECTS_ERROR; return NULL; } -- cgit v1.2.3