diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 16:45:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-23 17:19:07 +0200 |
commit | 965ef82015a8bb1c04c8066c65af7feab5e68ed6 (patch) | |
tree | 6e91ee840432d9cdcc336b5f233605992967f358 /cpukit/score/cpu/i386/rtems/score/cpu.h | |
parent | score: Include missing <rtems/score/address.h> (diff) | |
download | rtems-965ef82015a8bb1c04c8066c65af7feab5e68ed6.tar.bz2 |
score: PR1782: CPU_USE_DEFERRED_FP_SWITCH
Do not redefine CPU_USE_DEFERRED_FP_SWITCH.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/i386/rtems/score/cpu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h index 5bd14c347a..30a9a641fb 100644 --- a/cpukit/score/cpu/i386/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/rtems/score/cpu.h @@ -93,7 +93,11 @@ extern "C" { #define CPU_ALL_TASKS_ARE_FP FALSE #define CPU_IDLE_TASK_IS_FP FALSE -#define CPU_USE_DEFERRED_FP_SWITCH TRUE +#if defined(RTEMS_SMP) + #define CPU_USE_DEFERRED_FP_SWITCH FALSE +#else + #define CPU_USE_DEFERRED_FP_SWITCH TRUE +#endif #endif /* __SSE__ */ #define CPU_STACK_GROWS_UP FALSE |