ia64/xen-unstable

changeset 12907:2fa06640a1c1

[XEN] Fix kexec crash.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Dec 13 09:46:48 2006 +0000 (2006-12-13)
parents 05e1863cc2a3
children 3c7a6081f1a9
files xen/arch/x86/crash.c
line diff
     1.1 --- a/xen/arch/x86/crash.c	Tue Dec 12 19:37:21 2006 +0000
     1.2 +++ b/xen/arch/x86/crash.c	Wed Dec 13 09:46:48 2006 +0000
     1.3 @@ -58,9 +58,9 @@ static int crash_nmi_callback(struct cpu
     1.4  static void smp_send_nmi_allbutself(void)
     1.5  {
     1.6      cpumask_t allbutself = cpu_online_map;
     1.7 -
     1.8      cpu_clear(smp_processor_id(), allbutself);
     1.9 -    send_IPI_mask(allbutself, APIC_DM_NMI);
    1.10 +    if ( !cpus_empty(allbutself) )
    1.11 +        send_IPI_mask(allbutself, APIC_DM_NMI);
    1.12  }
    1.13  
    1.14  static void nmi_shootdown_cpus(void)