commit | ea1c99b11bbd9081fe258d7b54de535a3df32abc | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Thu Feb 21 11:09:39 2019 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Mar 13 19:15:20 2019 +0100 |
tree | d59572edc07e9d317f265bb564a04e8ca6938125 | |
parent | 8c1bdda33c903ec039363baf0d27d756ceaed3ff [diff] |
kernel/sched: Fix k_yield() in SMP This was always doing a remove/add of the _current thread to the run queue, which is wrong because in SMP _current isn't in the queue to remove. But it went undetected until the recent dlist changes. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>