| commit | c7a0cdd1a53fc9d98f733778a5dc96b1bd541e37 | [log] [tgz] |
|---|---|---|
| author | Daniel Leung <daniel.leung@intel.com> | Thu Nov 12 15:51:08 2020 -0800 |
| committer | Anas Nashif <anas.nashif@intel.com> | Fri Nov 13 07:13:07 2020 -0500 |
| tree | 669b9cbcb7617a68a3c99ccc39cf7c1c0edb367e | |
| parent | bb99422c8a5f97d250e3e7c956c57ec78fae0e77 [diff] |
shell: kernel: fix interrupt stack size calculation on SMP When calculating the size of unused interrupt stacks on SMP, the "unused" variable is not cleared between CPUs. So this value keeps incrementing and does not reflect actual unused size for CPUs other than the first one. So clear the "unused" variable for each CPU. Signed-off-by: Daniel Leung <daniel.leung@intel.com>