Skip to content
Commit caacc27d authored by Daniel Leung's avatar Daniel Leung Committed by David Leach
Browse files

kernel: smp: CPU start may result in null pointer access



It is observed that starting up CPU may result in other CPUs
crashing due to de-referencing NULL pointers. Note that this
happened on the up_squared board, but there was no way to
attach debugger to verify. It started working again after
moving z_dummy_thread_init() before smp_timer_init(), which
was the old behavior before commit
eefaeee0 where the issue
first appeared. So mimic the old behavior to workaround
the issue.

Fixes #68115

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 065253c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment