smp: Move arrays to use CONFIG_MP_MAX_NUM_CPUS

Move to use CONFIG_MP_MAX_NUM_CPUS for array size declarations instead
of CONFIG_MP_NUM_CPUS.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
Kumar Gala 2022-10-12 10:55:36 -05:00 committed by Stephanos Ioannidis
commit c778eb2a56
25 changed files with 38 additions and 38 deletions

View file

@ -193,7 +193,7 @@ static void shell_stack_dump(const struct k_thread *thread, void *user_data)
thread, tname ? tname : "NA", size, unused, size - unused, size, pcnt);
}
K_KERNEL_STACK_ARRAY_DECLARE(z_interrupt_stacks, CONFIG_MP_NUM_CPUS,
K_KERNEL_STACK_ARRAY_DECLARE(z_interrupt_stacks, CONFIG_MP_MAX_NUM_CPUS,
CONFIG_ISR_STACK_SIZE);
static int cmd_kernel_stacks(const struct shell *shell,