summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/apimutexlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/apimutexlock.c')
-rw-r--r--cpukit/score/src/apimutexlock.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpukit/score/src/apimutexlock.c b/cpukit/score/src/apimutexlock.c
index 45ad0ba9e7..bcac71a9c3 100644
--- a/cpukit/score/src/apimutexlock.c
+++ b/cpukit/score/src/apimutexlock.c
@@ -30,10 +30,6 @@ void _API_Mutex_Lock( API_Mutex_Control *the_mutex )
previous_thread_life_protection = _Thread_Set_life_protection( true );
- #if defined(RTEMS_SMP)
- _Thread_Disable_dispatch();
- #endif
-
_ISR_lock_ISR_disable( &lock_context );
_CORE_mutex_Seize(
@@ -49,8 +45,4 @@ void _API_Mutex_Lock( API_Mutex_Control *the_mutex )
the_mutex->previous_thread_life_protection =
previous_thread_life_protection;
}
-
- #if defined(RTEMS_SMP)
- _Thread_Enable_dispatch();
- #endif
}