diff options
Diffstat (limited to 'cpukit/score/src/threaddispatch.c')
-rw-r--r-- | cpukit/score/src/threaddispatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c index 4d840bfded..5a9c5669c1 100644 --- a/cpukit/score/src/threaddispatch.c +++ b/cpukit/score/src/threaddispatch.c @@ -104,7 +104,7 @@ void _Thread_Do_dispatch( Per_CPU_Control *cpu_self, ISR_Level level ) * to this function. */ #if !defined( RTEMS_SMP ) - _ISR_Enable( level ); + _ISR_Local_enable( level ); #endif _User_extensions_Thread_switch( executing, heir ); @@ -122,7 +122,7 @@ void _Thread_Do_dispatch( Per_CPU_Control *cpu_self, ISR_Level level ) _Thread_Debug_set_real_processor( executing, cpu_self ); #if !defined( RTEMS_SMP ) - _ISR_Disable( level ); + _ISR_Local_disable( level ); #endif } while ( #if defined( RTEMS_SMP ) |