diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-24 11:18:27 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-25 10:07:42 +0200 |
commit | 406dd62c9927af547987ad1326d4b7512c320ff9 (patch) | |
tree | f0c1bbd131f56720195da5bad29f9e20fbea96e8 /cpukit/include/rtems/score/smpimpl.h | |
parent | bsps: bsp_start_on_secondary_processor() (diff) | |
download | rtems-406dd62c9927af547987ad1326d4b7512c320ff9.tar.bz2 |
_SMP_Start_multitasking_on_secondary_processor()
Pass current processor control as first parameter to make dependency
more explicit.
Diffstat (limited to 'cpukit/include/rtems/score/smpimpl.h')
-rw-r--r-- | cpukit/include/rtems/score/smpimpl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h index fd92f655c7..762b3e5fc1 100644 --- a/cpukit/include/rtems/score/smpimpl.h +++ b/cpukit/include/rtems/score/smpimpl.h @@ -134,9 +134,12 @@ extern Processor_mask _SMP_Online_processors; * uses _Thread_Start_multitasking() instead. * * This function does not return to the caller. + * + * @param[in] cpu_self The current processor control. */ -void _SMP_Start_multitasking_on_secondary_processor( void ) - RTEMS_NO_RETURN; +void _SMP_Start_multitasking_on_secondary_processor( + Per_CPU_Control *cpu_self +) RTEMS_NO_RETURN; typedef void ( *SMP_Test_message_handler )( Per_CPU_Control *cpu_self ); |