arch/tile: use a cleaner technique to enable interrupt for cpu_idle()
authorChris Metcalf <cmetcalf@tilera.com>
Mon, 28 Feb 2011 20:22:40 +0000 (15:22 -0500)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 1 Mar 2011 21:20:48 +0000 (16:20 -0500)
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>
arch/tile/kernel/entry.S

Simple merge