[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Do not spin at the end of machine_crash_kexec(). If there was no crash



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Node ID 7ee6d20893f7b58fbad810a3fc87a250c61fd545
# Parent  e7cb5813e2a7e5d95c22855e1d63cba8147c5422
[XEN] Do not spin at the end of machine_crash_kexec(). If there was no crash
image then we should return to the caller who will either restart the machine
as normal or continue on as appropriate.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
 xen/common/kexec.c |    2 --
 1 files changed, 2 deletions(-)

diff -r e7cb5813e2a7 -r 7ee6d20893f7 xen/common/kexec.c
--- a/xen/common/kexec.c        Thu Nov 30 14:05:27 2006 +0000
+++ b/xen/common/kexec.c        Thu Nov 30 16:32:24 2006 +0000
@@ -119,8 +119,6 @@ void machine_crash_kexec(void)
         image = &kexec_image[KEXEC_IMAGE_CRASH_BASE + pos];
         machine_kexec(image); /* Does not return */
     }
-
-    while (1); /* No image available - just spin */
 }
 
 static void do_crashdump_trigger(unsigned char key)

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.