Skip to content
Commit 9c0bf4b0 authored by Tom Burdick's avatar Tom Burdick Committed by Fabio Baltieri
Browse files

kernel: Obtain current cpu inside of locks for thread usage



Obtaining the CPU outside of the spin locks on SMP would
result in an assert failing on __ASSERT(!z_smp_mobile())
which makes sense as the current cpu may change.

Signed-off-by: default avatarTom Burdick <thomas.burdick@intel.com>
parent 948b2ab0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment