Skip to content
Commit 8daafd4f authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

kernel: Final spin in !MULTITHREADING should be locked



Now that we call main() with interrupts enabled in !MULTITHREADING, we
need to disable them again for the final fallback "loop-forever
because user code returned" state.  Otherwise some architectures will
toss interrupts into a context where we obviously aren't prepared.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 2f95e240
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment