score: Move SMP CPU_USE_DEFERRED_FP_SWITCH check

This commit is contained in:
Sebastian Huber
2015-06-25 11:28:59 +02:00
parent a3fc33f8fa
commit 8042107a6e
2 changed files with 4 additions and 4 deletions
@@ -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.
*
+4
View File
@@ -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();