From 27bbc0598b4f1a85321fbc47d0f8446e37ea0d12 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 2 Aug 2018 14:49:01 +0200 Subject: 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. --- cpukit/score/cpu/i386/include/rtems/score/cpu.h | 1 - 1 file changed, 1 deletion(-) (limited to 'cpukit/score/cpu/i386/include') diff --git a/cpukit/score/cpu/i386/include/rtems/score/cpu.h b/cpukit/score/cpu/i386/include/rtems/score/cpu.h index 563a088f2e..2007426843 100644 --- a/cpukit/score/cpu/i386/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/include/rtems/score/cpu.h @@ -362,7 +362,6 @@ extern Context_Control_fp _CPU_Null_fp_context; #define CPU_ALIGNMENT 4 #define CPU_HEAP_ALIGNMENT CPU_ALIGNMENT -#define CPU_PARTITION_ALIGNMENT CPU_ALIGNMENT /* * On i386 thread stacks require no further alignment after allocation -- cgit v1.2.3