zephyr/subsys/shell/modules
Kumar Gala a1195ae39b smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS
Change for loops of the form:

for (i = 0; i < CONFIG_MP_NUM_CPUS; i++)
   ...

to

unsigned int num_cpus = arch_num_cpus();
for (i = 0; i < num_cpus; i++)
   ...

We do the call outside of the for loop so that it only happens once,
rather than on every iteration.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-21 13:14:58 +02:00
..
CMakeLists.txt
date_service.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
device_service.c shell: device_service: add missing EARLY init level 2022-10-14 09:55:48 +02:00
devmem_service.c shell: devmem: Update help string for devmem 2022-10-13 08:00:52 -04:00
Kconfig kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
kernel_service.c smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00