From 30f6fd5b3fa8db79f56d4a0191a1da6031c73597 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 3 Mar 2021 08:04:55 +0100 Subject: rtems: Fix RTEMS_TASK_STORAGE_ALIGNMENT Make sure we meet the stack alignment requirement for user-provided thread storage areas. --- cpukit/include/rtems/rtems/tasks.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/include/rtems/rtems/tasks.h') diff --git a/cpukit/include/rtems/rtems/tasks.h b/cpukit/include/rtems/rtems/tasks.h index 4e2e38d829..f71cb1ec6b 100644 --- a/cpukit/include/rtems/rtems/tasks.h +++ b/cpukit/include/rtems/rtems/tasks.h @@ -201,7 +201,7 @@ rtems_status_code rtems_task_create( * Use it with RTEMS_ALIGNED() to define the alignment of a statically * allocated task storage area. */ -#define RTEMS_TASK_STORAGE_ALIGNMENT CPU_HEAP_ALIGNMENT +#define RTEMS_TASK_STORAGE_ALIGNMENT CPU_STACK_ALIGNMENT /** * @brief Returns the recommended task storage area size for the specified size -- cgit v1.2.3