WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEN] Fix kexec crash.

# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 2fa06640a1c116c36936d22ae0c7b121680e6c3b
# Parent  05e1863cc2a3ca4c4a1a68a529435e4c3ad127b9
[XEN] Fix kexec crash.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/crash.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 05e1863cc2a3 -r 2fa06640a1c1 xen/arch/x86/crash.c
--- a/xen/arch/x86/crash.c      Tue Dec 12 19:37:21 2006 +0000
+++ b/xen/arch/x86/crash.c      Wed Dec 13 09:46:48 2006 +0000
@@ -58,9 +58,9 @@ static void smp_send_nmi_allbutself(void
 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)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN] Fix kexec crash., Xen patchbot-unstable <=