summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadhandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/threadhandler.c')
-rw-r--r--cpukit/score/src/threadhandler.c8
1 files changed, 2 insertions, 6 deletions
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