tests: kernel: mem_protect: Fix stack size calc
This patch fixes the calculation of the privileged stack portion. The
ztest threads have a stack size of 2048. The privileged area resides in
the lowest 512 bytes. So use the definition of the stack size to get to
the right area.
Signed-off-by:
Andy Gross <andy.gross@linaro.org>
Loading
Please sign in to comment