mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 20:34:59 +08:00
score: Move SMP CPU_USE_DEFERRED_FP_SWITCH check
This commit is contained in:
@@ -73,10 +73,6 @@ struct Scheduler_Context;
|
||||
|
||||
#if defined( RTEMS_SMP )
|
||||
|
||||
#if CPU_USE_DEFERRED_FP_SWITCH == TRUE
|
||||
#error "deferred FP switch not implemented for SMP"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief State of a processor.
|
||||
*
|
||||
|
||||
@@ -25,6 +25,10 @@
|
||||
#include <rtems/score/threadimpl.h>
|
||||
#include <rtems/config.h>
|
||||
|
||||
#if CPU_USE_DEFERRED_FP_SWITCH == TRUE
|
||||
#error "deferred FP switch not implemented for SMP"
|
||||
#endif
|
||||
|
||||
static void _SMP_Start_processors( uint32_t cpu_count )
|
||||
{
|
||||
uint32_t cpu_index_self = _SMP_Get_current_processor();
|
||||
|
||||
Reference in New Issue
Block a user