diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-04-22 17:54:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-04-22 17:54:31 +0000 |
commit | f78831f13b6c3c8a1f9b46eb3d50ec2b95e62143 (patch) | |
tree | 49bf5d7409d92e42036984e7fc0d4242b4b22dc8 /cpukit/score | |
parent | 2011-04-22 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-f78831f13b6c3c8a1f9b46eb3d50ec2b95e62143.tar.bz2 |
2011-04-22 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1782/cpukit
* score/include/rtems/score/thread.h: Disable deferred FPU context
switches when SMP is enabled. Per code tracking of deferred contexts
is not implemented.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 237fbde59c..0453912a46 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -58,6 +58,15 @@ #define __THREAD_DO_NOT_INLINE_ENABLE_DISPATCH__ #endif +/* + * Deferred floating point context switches are not currently + * supported when in SMP configuration. + */ +#if defined(RTEMS_SMP) + #undef CPU_USE_DEFERRED_FP_SWITCH + #define CPU_USE_DEFERRED_FP_SWITCH FALSE +#endif + #ifdef __cplusplus extern "C" { #endif |