mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-06 09:31:57 +00:00
pm_system_resume() can be called from the idle thread with interruptions unmasked. In this situation, _current_cpu will call z_smp_cpu_mobile() that will return true and cause an assert. In this function we don't need to check if the current context can be preempted, we just need the information about which cpu is executing it. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
device_runtime.c | ||
device.c | ||
Kconfig | ||
pm_stats.c | ||
pm_stats.h | ||
pm.c | ||
policy.c | ||
state.c |