[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: machine_halt() forcibly re-enables IRQs as it may be called from



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213283348 -3600
# Node ID a3319f32496fd93a545fc354ce3944072cc32e5e
# Parent  52c0117dd37446bef59e82de133a85a6565b237f
x86: machine_halt() forcibly re-enables IRQs as it may be called from
panic() which itself may be called in an IRQ-safe critical section.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/shutdown.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 52c0117dd374 -r a3319f32496f xen/arch/x86/shutdown.c
--- a/xen/arch/x86/shutdown.c   Thu Jun 12 16:05:35 2008 +0100
+++ b/xen/arch/x86/shutdown.c   Thu Jun 12 16:09:08 2008 +0100
@@ -90,6 +90,7 @@ void machine_halt(void)
 {
     watchdog_disable();
     console_start_sync();
+    local_irq_enable();
     smp_call_function(__machine_halt, NULL, 1, 0);
     __machine_halt(NULL);
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.