diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-14 15:06:22 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-12-14 15:06:22 +0000 |
commit | e93c545c97cda9eda5ce9275c7d2544365c4e918 (patch) | |
tree | b8e982b7bf3378b37e14cc8232f5095ff70aeeaa /xen/include/xen/kexec.h | |
parent | 96134532ec29f0e91af302b4e98936db54dddbef (diff) | |
download | xen-e93c545c97cda9eda5ce9275c7d2544365c4e918.tar.gz xen-e93c545c97cda9eda5ce9275c7d2544365c4e918.tar.bz2 xen-e93c545c97cda9eda5ce9275c7d2544365c4e918.zip |
[KEXEC] Clean up kexec code and fix panic-induced reboot when
kdump is not in use.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/xen/kexec.h')
-rw-r--r-- | xen/include/xen/kexec.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xen/include/xen/kexec.h b/xen/include/xen/kexec.h index c22bfc8f5e..be09c0a1ab 100644 --- a/xen/include/xen/kexec.h +++ b/xen/include/xen/kexec.h @@ -5,8 +5,6 @@ #include <asm/percpu.h> #include <xen/elfcore.h> -extern int crashing_cpu; - typedef struct xen_kexec_reserve { unsigned long size; unsigned long start; @@ -27,9 +25,9 @@ int machine_kexec_load(int type, int slot, xen_kexec_image_t *image); void machine_kexec_unload(int type, int slot, xen_kexec_image_t *image); void machine_kexec_reserved(xen_kexec_reserve_t *reservation); void machine_reboot_kexec(xen_kexec_image_t *image); -void machine_crash_kexec(void); -void machine_crash_save_cpu(void); -crash_xen_info_t *machine_crash_save_info(void); +void kexec_crash(void); +void kexec_crash_save_cpu(void); +crash_xen_info_t *kexec_crash_save_info(void); void machine_crash_shutdown(void); #endif /* __XEN_KEXEC_H__ */ |