commit | ad110d495ebc5439bb97dc48d4280a732742f384 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Wed Oct 21 10:43:20 2020 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Oct 24 12:54:32 2020 -0400 |
tree | 5326c665ae7f5409d40653c78dce0e6179bb768a | |
parent | 27739fcc43bdb9e408618bbf9aaba8a18077ecf0 [diff] |
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: Andrew Boie <andrew.p.boie@intel.com>