Skip to content
Commit 07525a3d authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

kernel: add arch interface for idle functions



k_cpu_idle() and k_cpu_atomic_idle() were being directly
implemented by arch code.

Rename these implementations to z_arch_cpu_idle() and
z_arch_cpu_atomic_idle(), and call them from new inline
function definitions in kernel.h.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 845aa6d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment