ia64/xen-unstable

changeset 12694:7ee6d20893f7

[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@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Thu Nov 30 16:32:24 2006 +0000 (2006-11-30)
parents e7cb5813e2a7
children 01860d20feac
files xen/common/kexec.c
line diff
     1.1 --- a/xen/common/kexec.c	Thu Nov 30 14:05:27 2006 +0000
     1.2 +++ b/xen/common/kexec.c	Thu Nov 30 16:32:24 2006 +0000
     1.3 @@ -119,8 +119,6 @@ void machine_crash_kexec(void)
     1.4          image = &kexec_image[KEXEC_IMAGE_CRASH_BASE + pos];
     1.5          machine_kexec(image); /* Does not return */
     1.6      }
     1.7 -
     1.8 -    while (1); /* No image available - just spin */
     1.9  }
    1.10  
    1.11  static void do_crashdump_trigger(unsigned char key)