zephyr/tests/boards
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
..
altera_max10 ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
espressif_esp32/cache_coex tests: espressif_esp32: Fix docs generation issue 2022-10-08 18:33:21 +02:00
frdm_k64f/i2c devices: constify statically initialized device pointers 2022-08-19 11:51:26 +02:00
intel_adsp smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
mec15xxevb_assy6853 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
mec172xevb_assy6906/i2c_api tests: Enable the pca9555 chip on mec172xevb_assy6906 2022-09-13 08:54:25 +00:00
native_posix include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00