summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/smp.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-25 11:28:59 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-25 11:28:59 +0200
commit8042107a6ee9881d6b0ceefdd7ee3423a2134569 (patch)
tree097244c293d008b51303b9e317caac99a384ccaa /cpukit/score/src/smp.c
parentscore: Assert proper node size (diff)
downloadrtems-8042107a6ee9881d6b0ceefdd7ee3423a2134569.tar.bz2
score: Move SMP CPU_USE_DEFERRED_FP_SWITCH check
Diffstat (limited to 'cpukit/score/src/smp.c')
-rw-r--r--cpukit/score/src/smp.c4
1 files changed, 4 insertions, 0 deletions
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();