diff options
author | Ian Campbell <ian.campbell@xensource.com> | 2006-11-30 18:44:54 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@xensource.com> | 2006-11-30 18:44:54 +0000 |
commit | 5419258cad363451db58081c11a10b472a4be417 (patch) | |
tree | 8e3d86b65cb16c233308c30d91755a05f027fc67 /xen/arch/x86/machine_kexec.c | |
parent | fcd9174e64b1f0f5f084c3d7f3c2c59c0dbf34ee (diff) | |
download | xen-5419258cad363451db58081c11a10b472a4be417.tar.gz xen-5419258cad363451db58081c11a10b472a4be417.tar.bz2 xen-5419258cad363451db58081c11a10b472a4be417.zip |
[XEN] Rename machine_shutdown to machine_reboot_kexec to better
reflect its purpose.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Diffstat (limited to 'xen/arch/x86/machine_kexec.c')
-rw-r--r-- | xen/arch/x86/machine_kexec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xen/arch/x86/machine_kexec.c b/xen/arch/x86/machine_kexec.c index 64a4a3f19f..81c392a7d3 100644 --- a/xen/arch/x86/machine_kexec.c +++ b/xen/arch/x86/machine_kexec.c @@ -52,7 +52,7 @@ void machine_kexec_unload(int type, int slot, xen_kexec_image_t *image) { } -static void __machine_shutdown(void *data) +static void __machine_reboot_kexec(void *data) { xen_kexec_image_t *image = (xen_kexec_image_t *)data; @@ -69,7 +69,7 @@ static void __machine_shutdown(void *data) machine_kexec(image); } -void machine_shutdown(xen_kexec_image_t *image) +void machine_reboot_kexec(xen_kexec_image_t *image) { int reboot_cpu_id; cpumask_t reboot_cpu; @@ -83,13 +83,13 @@ void machine_shutdown(xen_kexec_image_t *image) { cpus_clear(reboot_cpu); cpu_set(reboot_cpu_id, reboot_cpu); - on_selected_cpus(reboot_cpu, __machine_shutdown, image, 1, 0); + on_selected_cpus(reboot_cpu, __machine_reboot_kexec, image, 1, 0); for (;;) ; /* nothing */ } else { - __machine_shutdown(image); + __machine_reboot_kexec(image); } BUG(); } |