WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] [IA64] Kexec: Call xen_machine_kexec_register_resources
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 04 Oct 2007 17:42:06 -0700
Delivery-date: Thu, 04 Oct 2007 18:27:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] [IA64] Kexec: Call xen_machine_kexec_register_resources, Xen patchbot-linux-2.6.18-xen <=