ia64/xen-unstable

changeset 17843:a3319f32496f

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@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 12 16:09:08 2008 +0100 (2008-06-12)
parents 52c0117dd374
children 882eb6186c2d
files xen/arch/x86/shutdown.c
line diff
     1.1 --- a/xen/arch/x86/shutdown.c	Thu Jun 12 16:05:35 2008 +0100
     1.2 +++ b/xen/arch/x86/shutdown.c	Thu Jun 12 16:09:08 2008 +0100
     1.3 @@ -90,6 +90,7 @@ void machine_halt(void)
     1.4  {
     1.5      watchdog_disable();
     1.6      console_start_sync();
     1.7 +    local_irq_enable();
     1.8      smp_call_function(__machine_halt, NULL, 1, 0);
     1.9      __machine_halt(NULL);
    1.10  }