commit | 3d14615f56c8be48033e2b79b4b990da6783ddff | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Wed Jun 13 10:51:42 2018 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Jun 13 17:23:05 2018 -0400 |
tree | abe2a1e92a0d889d494fd2fd0095101b58ae6bfe | |
parent | b20aff2f80271364f6dd865993cfbaa82401d9d7 [diff] |
kernel: Restore CONFIG_MULTITHREADING=n behavior The prepare_multithreading()/switch_to_main_thread() steps were being done unconditionally, when with multhreading disabled we want to jump straight into the main thread on the existing stack. Needless to say, that doesn't work well. Fixes #8361. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>