Subject: [IA64] Kexec: Call xen_machine_kexec_register_resources
From: Simon Horman <horms@verge.net.au>
Date: Fri, 13 Jul 2007 15:37:40 +0900

For kexec on xen xen_machine_kexec_register_resources() needs
to be called at boot time.

Signed-off-by: Simon Horman <horms@verge.net.au>

Index: linux-2.6.18-xen.hg/arch/ia64/kernel/efi.c
===================================================================
--- linux-2.6.18-xen.hg.orig/arch/ia64/kernel/efi.c	2007-07-10 10:57:17.000000000 +0900
+++ linux-2.6.18-xen.hg/arch/ia64/kernel/efi.c	2007-07-10 11:11:09.000000000 +0900
@@ -1128,6 +1128,9 @@ efi_initialize_iomem_resources(struct re
                         insert_resource(res, &boot_param_res);
 			if (crashk_res.end > crashk_res.start)
 				insert_resource(res, &crashk_res);
+#ifdef CONFIG_XEN
+			xen_machine_kexec_register_resources(res);
+#endif
 #endif
 		}
 	}
