diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-07 09:27:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-07 09:27:59 +0200 |
commit | 29594b4dbc011c0a768395acaf8afc59c512c164 (patch) | |
tree | ac3e205dc8441ea449951af350ac827a3dc015e0 /cpukit/score/src/threadhandler.c | |
parent | bsp/xilinx-zynq: Avoid duplicate declaration (diff) | |
download | rtems-29594b4dbc011c0a768395acaf8afc59c512c164.tar.bz2 |
score: Remove superfluous SMP debug support
This information turned out to be useless in the last couple of months.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/threadhandler.c | 8 |
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 |