summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-03 08:04:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-03-04 09:08:03 +0100
commit30f6fd5b3fa8db79f56d4a0191a1da6031c73597 (patch)
tree4a6dbc7aff2ca82a50ac9c78ea218994613c5ede
parentscore: Enforce CPU_STACK_ALIGNMENT requirements (diff)
downloadrtems-30f6fd5b3fa8db79f56d4a0191a1da6031c73597.tar.bz2
rtems: Fix RTEMS_TASK_STORAGE_ALIGNMENT
Make sure we meet the stack alignment requirement for user-provided thread storage areas.
-rw-r--r--cpukit/include/rtems/rtems/tasks.h2
1 files changed, 1 insertions, 1 deletions
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