Browse Source
This reverts commitbackport-84509-to-v4.0-branch42036cdbca
. Architecture specific code should not do preemption checking before context switch. This is already handled by the scheduler, so duplicating it would be redundant and error prone. These checks used to be necessary, but the scheduler has been rewritten since then and the checks were removed in3a0cb2d35d
(kernel: Remove legacy preemption checking, 2018-05-23). The check this reverts was also incorrect, as it didn't take scheduler locking nor meta-IRQs into account. Fixes #80574 Signed-off-by: Kalle Kietäväinen <kalle.kietavainen@silabs.com> (cherry picked from commitd929b8a9fa
)
1 changed files with 2 additions and 7 deletions
Loading…
Reference in new issue