diff options
Diffstat (limited to 'cpukit/score/src')
-rw-r--r-- | cpukit/score/src/threaddispatch.c | 2 | ||||
-rw-r--r-- | cpukit/score/src/threadhandler.c | 8 | ||||
-rw-r--r-- | cpukit/score/src/threadinitialize.c | 2 |
3 files changed, 2 insertions, 10 deletions
diff --git a/cpukit/score/src/threaddispatch.c b/cpukit/score/src/threaddispatch.c index 5a9c5669c1..08e96bc191 100644 --- a/cpukit/score/src/threaddispatch.c +++ b/cpukit/score/src/threaddispatch.c @@ -119,8 +119,6 @@ void _Thread_Do_dispatch( Per_CPU_Control *cpu_self, ISR_Level level ) */ cpu_self = _Per_CPU_Get(); - _Thread_Debug_set_real_processor( executing, cpu_self ); - #if !defined( RTEMS_SMP ) _ISR_Local_disable( level ); #endif diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c index 9f004b939e..5d33f4391d 100644 --- a/cpukit/score/src/threadhandler.c +++ b/cpukit/score/src/threadhandler.c @@ -37,12 +37,8 @@ void _Thread_Handler( void ) */ _Context_Initialization_at_thread_begin(); - #if defined(RTEMS_SMP) - /* On SMP we enter _Thread_Handler() with interrupts disabled */ - _Assert( _ISR_Get_level() != 0 ); - - _Thread_Debug_set_real_processor( executing, _Per_CPU_Get() ); - #endif + /* On SMP we enter _Thread_Handler() with interrupts disabled */ + _SMP_Assert( _ISR_Get_level() != 0 ); /* * have to put level into a register for those cpu's that use diff --git a/cpukit/score/src/threadinitialize.c b/cpukit/score/src/threadinitialize.c index 8b5d9431e5..90f58e646d 100644 --- a/cpukit/score/src/threadinitialize.c +++ b/cpukit/score/src/threadinitialize.c @@ -191,8 +191,6 @@ bool _Thread_Initialize( _SMP_lock_Stats_initialize( &the_thread->Potpourri_stats, "Thread Potpourri" ); #endif - _Thread_Debug_set_real_processor( the_thread, cpu ); - /* Initialize the CPU for the non-SMP schedulers */ _Thread_Set_CPU( the_thread, cpu ); |