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/sparc/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 'cpukit/score/cpu/sparc/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/sparc/rtems/score/cpu.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpukit/score/cpu/sparc/rtems/score/cpu.h b/cpukit/score/cpu/sparc/rtems/score/cpu.h index c0a8d0a9e8..20040a9485 100644 --- a/cpukit/score/cpu/sparc/rtems/score/cpu.h +++ b/cpukit/score/cpu/sparc/rtems/score/cpu.h @@ -168,7 +168,11 @@ extern "C" { * On the SPARC, we can disable the FPU for integer only tasks so * it is safe to defer floating point context switches. */ -#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 /** * Does this port provide a CPU dependent IDLE task implementation? |