pw_kernel: Move preempt_disable_count outside the sched lock Change-Id: I3ab8d8903bd4da08fc1fcdebeefaa3d14470d329 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/306495 Docs-Not-Needed: Dave Roth <davidroth@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Erik Gilling <konkers@google.com> Reviewed-by: Travis Geiselbrecht <travisg@google.com> Reviewed-by: Dave Roth <davidroth@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.