summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm/bug.h
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2011-02-28 15:22:40 -0500
committerChris Metcalf <cmetcalf@tilera.com>2011-03-01 16:20:48 -0500
commit0b989cac90144565b8780ddde36e6a927f8ca7ba (patch)
tree5867cd253d019b8e23e9e581482c87551b32accb /arch/tile/include/asm/bug.h
parenta5c149c8a00b247749d0f18c13b130069dcc36e3 (diff)
downloadop-kernel-dev-0b989cac90144565b8780ddde36e6a927f8ca7ba.zip
op-kernel-dev-0b989cac90144565b8780ddde36e6a927f8ca7ba.tar.gz
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/asm/bug.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud