[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] [IA64] Kexec: Call xen_machine_kexec_register_resources



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1190924940 21600
# Node ID e93417e98d412d1e1bee55cbe3503f4a016e2764
# Parent  2a29669d8be0747b25c181eaacc0a9278a96ca00
[IA64] Kexec: Call xen_machine_kexec_register_resources

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

Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
---
 arch/ia64/kernel/efi.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 2a29669d8be0 -r e93417e98d41 arch/ia64/kernel/efi.c
--- a/arch/ia64/kernel/efi.c    Thu Sep 27 14:26:00 2007 -0600
+++ b/arch/ia64/kernel/efi.c    Thu Sep 27 14:29:00 2007 -0600
@@ -1128,6 +1128,10 @@ 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
+                       if (is_initial_xendomain())
+                               xen_machine_kexec_register_resources(res);
+#endif
 #endif
                }
        }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.