commit | 5aa7460e5c74ecaf45afd8d08702b04276a738c8 | [log] [tgz] |
---|---|---|
author | Andy Ross <andrew.j.ross@intel.com> | Tue Feb 05 09:35:57 2019 -0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Feb 08 14:49:39 2019 -0500 |
tree | bca4418aeb65caa46990c6c9818616386bd51537 | |
parent | aa6e21c24c2d5f9540c5aee9793b2099979da34d [diff] |
kernel/spinlock: Move validation out of header inlines The validation checking recently added to spinlocks is useful, but requires kernel-internals like _current and _current_cpu in a header context that tends to be needed before those are declared (or where we don't want them declared), and is causing big header dependency headaches. Move it to C code, it's just a validation tool, not a performance thing. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>