Skip to content
Commit d34351d9 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

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: default avatarDaniel Leung <daniel.leung@intel.com>
parent 6cd7936f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment