[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] x86: machine_halt() forcibly re-enables IRQs as it may be called from
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1213291879 -3600 # Node ID d31315b23f286ee8e6d2edd523d53a876a95d3fb # Parent edd6da34bfb94b42382d3f59ebc2462bcd63fa52 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-unstable changeset: 17837:a3319f32496fd93a545fc354ce3944072cc32e5e xen-unstable date: Thu Jun 12 16:09:08 2008 +0100 --- xen/arch/x86/shutdown.c | 1 + 1 files changed, 1 insertion(+) diff -r edd6da34bfb9 -r d31315b23f28 xen/arch/x86/shutdown.c --- a/xen/arch/x86/shutdown.c Thu Jun 12 18:30:53 2008 +0100 +++ b/xen/arch/x86/shutdown.c Thu Jun 12 18:31:19 2008 +0100 @@ -50,6 +50,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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |