diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-25 11:28:59 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-25 11:28:59 +0200 |
commit | 8042107a6ee9881d6b0ceefdd7ee3423a2134569 (patch) | |
tree | 097244c293d008b51303b9e317caac99a384ccaa | |
parent | score: Assert proper node size (diff) | |
download | rtems-8042107a6ee9881d6b0ceefdd7ee3423a2134569.tar.bz2 |
score: Move SMP CPU_USE_DEFERRED_FP_SWITCH check
-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(); |