zephyr/subsys/pm
Flavio Ceolin f232db4630 pm: Avoid unnecessary check in SMP
_current_cpu is a macro that expands to an assert that checks if the
current context can be migrated to a another cpu. Since this
pm_system_suspend() is called from the idle thread (each cpu has its
own) and  with locked this check is redundant. Just use
arch_curr_cpu() to avoid it.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2022-06-16 19:53:20 -04:00
..
CMakeLists.txt pm: policy: move constraints to policy API 2022-03-16 15:26:47 +01:00
device_runtime.c pm: device_runtime: return -ENOTSUP if PM not supported 2022-05-15 21:34:46 +02:00
device.c pm: device: helper to query power state 2022-06-08 12:43:00 +02:00
Kconfig pm: device: Dynamically add a device to a power domain 2022-04-18 17:25:01 -07:00
pm_stats.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
pm_stats.h subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
pm.c pm: Avoid unnecessary check in SMP 2022-06-16 19:53:20 -04:00
policy.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
state.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00