commit | d34351d9945435fd29ff5b2ecdf4805cf784f779 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Fri Mar 22 14:11:49 2024 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Mar 27 19:27:10 2024 -0400 |
tree | 345ce2dcbe28d479d7319d60077baf45b1772b34 | |
parent | 6cd7936f575e511f23bf75288f0dae25bad2fa51 [diff] |
kernel: align thread stack size declaration When thread stack is defined as an array, K_THREAD_STACK_LEN() is used to calculate the size for each stack in the array. However, standalone thread stack has its size calculated by Z_THREAD_STACK_SIZE_ADJUST() instead. Depending on the arch alignment requirement, they may not be the same... which could cause some confusions. So align them both to use K_THREAD_STACK_LEN(). Signed-off-by: Daniel Leung <daniel.leung@intel.com>