commit | ec554f44d99eef8800e341db5fa95ba40755d351 | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Tue Jul 24 13:37:59 2018 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 08 14:49:39 2019 -0500 |
tree | 1d17829a0f20d559b8ae1e56cf1a4639dd894987 | |
parent | fb505b3cfd7ead2c6b6c9bc30a705ad29154a998 [diff] |
kernel: Split reschdule & pend into irq/spin lock versions Just like with _Swap(), we need two variants of these utilities which can atomically release a lock and context switch. The naming shifts (for byte count reasons) to _reschedule/_pend_curr, and both have an _irqlock variant which takes the traditional locking. Just refactoring. No logic changes. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>