From 4a765b47a56cf9ba09c13381eb0cccd595e97cbd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 3 Mar 2021 08:39:33 +0100 Subject: score: Enforce CPU_STACK_ALIGNMENT requirements Clarify CPU_STACK_ALIGNMENT requirements in no_cpu port. Add static assertion to enforce CPU_STACK_ALIGNMENT requirements. --- cpukit/score/cpu/m68k/include/rtems/score/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/cpu/m68k') diff --git a/cpukit/score/cpu/m68k/include/rtems/score/cpu.h b/cpukit/score/cpu/m68k/include/rtems/score/cpu.h index 5c1df94fc5..de7f8215bb 100644 --- a/cpukit/score/cpu/m68k/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/m68k/include/rtems/score/cpu.h @@ -338,7 +338,7 @@ extern void* _VBR; * from the Workspace. */ -#define CPU_STACK_ALIGNMENT 0 +#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT #define CPU_INTERRUPT_STACK_ALIGNMENT CPU_CACHE_LINE_BYTES -- cgit v1.2.3