summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadhandler.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-07 09:27:59 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-07 09:27:59 +0200
commit29594b4dbc011c0a768395acaf8afc59c512c164 (patch)
treeac3e205dc8441ea449951af350ac827a3dc015e0 /cpukit/score/src/threadhandler.c
parentbsp/xilinx-zynq: Avoid duplicate declaration (diff)
downloadrtems-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 '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