Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0b989cac authored by Chris Metcalf's avatar Chris Metcalf
Browse files

arch/tile: use a cleaner technique to enable interrupt for cpu_idle()



Previously we used iret to atomically return to kernel PL with
interrupts enabled.  However, it turns out that we are architecturally
guaranteed that we can just set and clear the "interrupt critical
section" and only interrupt on the following instruction, so we
now do that instead, since it's cleaner.

Signed-off-by: default avatarChris Metcalf <cmetcalf@tilera.com>
parent a5c149c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment