Skip to content
Commit 50e77c2f authored by Dat Nguyen Duy's avatar Dat Nguyen Duy Committed by Carles Cufí
Browse files

arch: arm: aarch32: cortex_a_r: disable interrupts before context switching



Ultil now Cortex A/R aarch32 implementation for context
switching expects that interrupts was disabled. This is
true if a context switching happens at thread context.

But if a context switching happens at last action during
interrupt context, this assumption is not true because the
interrupts are still enabled (to allow nesting interrupts).

Disable interrupts at the last interrupt action to ensure
the interrupts are always disabled before context switching
is processed

Signed-off-by: default avatarDat Nguyen Duy <dat.nguyenduy@nxp.com>
parent b94ab6e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment