zephyr/subsys/pm
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 pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
device_runtime.c pm: device_runtime: detect power up failures 2022-07-12 10:07:18 +02:00
device.c pm: device: store power up failures 2022-07-12 10:07:18 +02:00
Kconfig arch: Introduce S2RAM interface 2022-07-11 15:26:26 +02:00
pm_stats.c smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
pm_stats.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
pm.c pm: Introduce CONFIG_PM_DEVICE_RUNTIME_EXCLUSIVE 2022-06-22 12:24:43 +02:00
policy.c pm: policy: allow multiple subscribers to latency changes 2022-08-03 11:19:17 +02:00
state.c pm: state: use DT_FOREACH_CHILD_SEP 2022-08-30 16:19:57 +02:00