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(-)

diff --git a/cpukit/include/rtems/rtems/tasks.h 
b/cpukit/include/rtems/rtems/tasks.h
index d896e66bd5..a8fe267884 100644
--- a/cpukit/include/rtems/rtems/tasks.h
+++ b/cpukit/include/rtems/rtems/tasks.h
@@ -1507,7 +1507,7 @@ rtems_status_code rtems_task_start(
  * 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
 
 /* Generated from spec:/rtems/task/if/storage-size */
 
-- 
2.26.2

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to