commit | d0035f977932f4b0cfbace336118bf6c6b88be63 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Tue Mar 19 10:43:06 2019 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Wed Mar 20 13:59:26 2019 -0700 |
tree | a2edcef8dd73c89694d4adefdd8986f9fed5e313 | |
parent | 575abc01503f20d10b40b47ee470d9f051a442c3 [diff] |
kernel: fix stack size check in k_thread_create The pointer arithmetic used didn't account for ARC supervisor mode stacks, which are allocated at the end of the stack object. Use the new macro to know exactly how much space is reserved. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>