summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/percpu.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-29 12:55:28 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-06-29 12:55:28 +0200
commitb36bf5bda87b749f4163facbccbff8e15029011b (patch)
treea131bdc17689b75c3d1acf9fbb5091f854463633 /cpukit/include/rtems/score/percpu.h
parent79d69aef54f396120d2bb91a0da217fd2e2b22aa (diff)
downloadrtems-b36bf5bda87b749f4163facbccbff8e15029011b.tar.bz2
score: Increase PER_CPU_CONTROL_SIZE_APPROX
Increase the PER_CPU_CONTROL_SIZE_APPROX on 64-bit targets. Update #3433.
Diffstat (limited to 'cpukit/include/rtems/score/percpu.h')
-rw-r--r--cpukit/include/rtems/score/percpu.h2
1 files changed, 1 insertions, 1 deletions
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 )