From 514705d2f106375ff54d8a744dabeab97c71144d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 12 Feb 2014 16:05:35 +0100 Subject: score: Delete _Thread_BSP_context Do not return to BSP context in the exit() shutdown path. This makes it possible to re-use the initialization stack. It can be used for the interrupt stack for example. On targets with a small RAM this is a considerable benefit. This change eliminates also some special cases and simplifies the code. Delete _Thread_Set_global_exit_status(), _Thread_Get_global_exit_status() and _Thread_Stop_multitasking(). --- cpukit/score/src/smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/smp.c') diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index 2f8a488474..df1c6d312a 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -40,7 +40,7 @@ void rtems_smp_secondary_cpu_initialize( void ) _Per_CPU_Wait_for_state( self_cpu, PER_CPU_STATE_BEGIN_MULTITASKING ); - _Thread_Start_multitasking( NULL ); + _Thread_Start_multitasking(); } void rtems_smp_process_interrupt( void ) -- cgit v1.2.3