diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-13 09:46:48 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-13 09:46:48 +0000 |
commit | f2a28ff18972e57fae69c91f0dad9b22656820cd (patch) | |
tree | 398f1709555fa7093435b1d955ae30c0a65da8fe /xen/arch/x86/crash.c | |
parent | c918890fc53f00914e17da999b11c278973e34b5 (diff) | |
download | xen-f2a28ff18972e57fae69c91f0dad9b22656820cd.tar.gz xen-f2a28ff18972e57fae69c91f0dad9b22656820cd.tar.bz2 xen-f2a28ff18972e57fae69c91f0dad9b22656820cd.zip |
[XEN] Fix kexec crash.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/crash.c')
-rw-r--r-- | xen/arch/x86/crash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/crash.c b/xen/arch/x86/crash.c index a5b0aeedf1..933846d1cd 100644 --- a/xen/arch/x86/crash.c +++ b/xen/arch/x86/crash.c @@ -58,9 +58,9 @@ static int crash_nmi_callback(struct cpu_user_regs *regs, int cpu) static void smp_send_nmi_allbutself(void) { cpumask_t allbutself = cpu_online_map; - cpu_clear(smp_processor_id(), allbutself); - send_IPI_mask(allbutself, APIC_DM_NMI); + if ( !cpus_empty(allbutself) ) + send_IPI_mask(allbutself, APIC_DM_NMI); } static void nmi_shootdown_cpus(void) |