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

kernel: fatal: check if _current is NULL



Arches which have custom swap to main can have _current be
NULL very, very early in the boot process. Check this to
avoid an infinite loop of fatal errors.

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