diff options
-rw-r--r-- | cpukit/score/include/rtems/score/percpu.h | 4 | ||||
-rw-r--r-- | cpukit/score/src/smp.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/include/rtems/score/percpu.h b/cpukit/score/include/rtems/score/percpu.h index 4be4de6974..600f46e377 100644 --- a/cpukit/score/include/rtems/score/percpu.h +++ b/cpukit/score/include/rtems/score/percpu.h @@ -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. * diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c index ae10f82419..8ffeb1d828 100644 --- a/cpukit/score/src/smp.c +++ b/cpukit/score/src/smp.c @@ -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(); |