aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/chcore.h')
-rw-r--r--src/templates/chcore.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates/chcore.h b/src/templates/chcore.h
index 4e0aaf16a..f94cb4b18 100644
--- a/src/templates/chcore.h
+++ b/src/templates/chcore.h
@@ -98,9 +98,9 @@ typedef struct {
/**
* Computes the thread working area global size.
*/
-#define THD_WA_SIZE(n) StackAlign(sizeof(Thread) + \
- sizeof(struct intctx) + \
- sizeof(struct extctx) + \
+#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
+ sizeof(struct intctx) + \
+ sizeof(struct extctx) + \
(n) + (INT_REQUIRED_STACK))
/**