commit | eb258706e0ac13d79e21f957f9ff6ba4c9d644fd | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Thu Apr 12 12:10:10 2018 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Wed May 02 10:00:17 2018 -0700 |
tree | e5be1fd6a33f662db60847683338f31386716795 | |
parent | d1715685829f90f89e2e2715c960b709ba6dda99 [diff] |
kernel: Move SMP initialization to start of main thread The smp_init() call was too early. Device and subsystem initialization doesn't happen until after the main thread starts running. Starting extra CPUs and allowing them to schedule threads before their drivers are alive is a bad idea, even if it works in a unit test. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>