Skip to content
Commit 09cf3e09 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Henrik Brix Andersen
Browse files

smp: fix a race when starting / resuming multiple CPUs



cpu_start_fn is global, it's used by the initiator CPU to start or
resume secondary CPUs. However it's possible, that the initiator CPU
goes ahead and starts a second secondary CPU before the first one has
finished using the object. Fix this by creating a local copy of the
global object.

Signed-off-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
parent f3d59181
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment