diff options
Diffstat (limited to 'cpukit/include/rtems/score/context.h')
-rw-r--r-- | cpukit/include/rtems/score/context.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/include/rtems/score/context.h b/cpukit/include/rtems/score/context.h index 46e04e9600..b65c15e73b 100644 --- a/cpukit/include/rtems/score/context.h +++ b/cpukit/include/rtems/score/context.h @@ -49,8 +49,7 @@ extern "C" { */ #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE ) #define CONTEXT_FP_SIZE \ - ( ( CPU_CONTEXT_FP_SIZE + CPU_HEAP_ALIGNMENT - 1 ) \ - & ~( CPU_HEAP_ALIGNMENT - 1 ) ) + RTEMS_ALIGN_UP( CPU_CONTEXT_FP_SIZE, CPU_STACK_ALIGNMENT ) #else #define CONTEXT_FP_SIZE 0 #endif |