diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2011-02-28 15:22:40 -0500 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2011-03-01 16:20:48 -0500 |
commit | 0b989cac90144565b8780ddde36e6a927f8ca7ba (patch) | |
tree | 5867cd253d019b8e23e9e581482c87551b32accb /arch/tile/include | |
parent | a5c149c8a00b247749d0f18c13b130069dcc36e3 (diff) | |
download | linux-0b989cac90144565b8780ddde36e6a927f8ca7ba.tar.gz linux-0b989cac90144565b8780ddde36e6a927f8ca7ba.tar.bz2 linux-0b989cac90144565b8780ddde36e6a927f8ca7ba.zip |
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: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/include')
0 files changed, 0 insertions, 0 deletions