xen: allow interrupts to be enabled while doing a blocking spin
authorJeremy Fitzhardinge <jeremy@goop.org>
Thu, 21 Aug 2008 00:02:20 +0000 (17:02 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Aug 2008 11:52:58 +0000 (13:52 +0200)
If spin_lock is called in an interrupts-enabled context, we can safely
enable interrupts while spinning.  We don't bother for the actual spin
loop, but if we timeout and fall back to blocking, it's definitely
worthwhile enabling interrupts if possible.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found