]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
[IA64] Kexec: Use xen machine_kexec() and machine_shutdown()
authorAlex Williamson <alex.williamson@hp.com>
Thu, 27 Sep 2007 19:44:28 +0000 (13:44 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Thu, 27 Sep 2007 19:44:28 +0000 (13:44 -0600)
machine_kexec() and machine_shutdown() are defined by xen code
rather than ia64 code when xen is in use

Signed-off-by: Simon Horman <horms@verge.net.au>
arch/ia64/kernel/machine_kexec.c

index 468233fa2ceede63938c5df28649dc4dd504fb3d..a1caeebaabe84d4dcd53096f760b25152da6c532 100644 (file)
@@ -65,6 +65,7 @@ void machine_kexec_cleanup(struct kimage *image)
 {
 }
 
+#ifndef CONFIG_XEN
 void machine_shutdown(void)
 {
        int cpu;
@@ -131,3 +132,4 @@ void machine_kexec(struct kimage *image)
        unw_init_running(ia64_machine_kexec, image);
        for(;;);
 }
+#endif /* CONFIG_XEN */