From b36bf5bda87b749f4163facbccbff8e15029011b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 29 Jun 2018 12:55:28 +0200 Subject: score: Increase PER_CPU_CONTROL_SIZE_APPROX Increase the PER_CPU_CONTROL_SIZE_APPROX on 64-bit targets. Update #3433. --- cpukit/include/rtems/score/percpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/include') diff --git a/cpukit/include/rtems/score/percpu.h b/cpukit/include/rtems/score/percpu.h index 4a8353db47..f0b155d4c1 100644 --- a/cpukit/include/rtems/score/percpu.h +++ b/cpukit/include/rtems/score/percpu.h @@ -40,7 +40,7 @@ extern "C" { #if defined(RTEMS_SMP) #if defined(RTEMS_PROFILING) #define PER_CPU_CONTROL_SIZE_APPROX ( 512 + CPU_INTERRUPT_FRAME_SIZE ) - #elif defined(RTEMS_DEBUG) + #elif defined(RTEMS_DEBUG) || CPU_SIZEOF_POINTER > 4 #define PER_CPU_CONTROL_SIZE_APPROX ( 256 + CPU_INTERRUPT_FRAME_SIZE ) #else #define PER_CPU_CONTROL_SIZE_APPROX ( 128 + CPU_INTERRUPT_FRAME_SIZE ) -- cgit v1.2.3