summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/x86_64
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-02 14:49:01 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-02 15:33:00 +0200
commit27bbc0598b4f1a85321fbc47d0f8446e37ea0d12 (patch)
tree80e1367a979a1046d0285bbed60e814aa8696951 /cpukit/score/cpu/x86_64
parentbsp/riscv: Add missing BSP variant (diff)
downloadrtems-27bbc0598b4f1a85321fbc47d0f8446e37ea0d12.tar.bz2
score: Remove CPU_PARTITION_ALIGNMENT
Use the CPU_SIZEOF_POINTER alignment instead. The internal alignment requirement is defined by the use of Chain_Node (consisting of two pointers) to manage the free chain of partitions. It seems that previously the condition CPU_PARTITION_ALIGNMENT >= sizeof(Chain_Node) was true on all CPU ports. Now, we need an additional check. Update #3482.
Diffstat (limited to 'cpukit/score/cpu/x86_64')
-rw-r--r--cpukit/score/cpu/x86_64/include/rtems/score/cpu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
index a0f690fc47..5c40af7647 100644
--- a/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
+++ b/cpukit/score/cpu/x86_64/include/rtems/score/cpu.h
@@ -114,7 +114,6 @@ typedef struct {
#define CPU_SIZEOF_POINTER 8
#define CPU_ALIGNMENT 8
#define CPU_HEAP_ALIGNMENT CPU_ALIGNMENT
-#define CPU_PARTITION_ALIGNMENT CPU_ALIGNMENT
#define CPU_STACK_ALIGNMENT 16
#define CPU_INTERRUPT_STACK_ALIGNMENT CPU_CACHE_LINE_BYTES