|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [rfc 03/16] Initialise xen_start_info earlier in setup_
xen_start_info needs to be set before efi_init() is called on ia64
because xen_machine_kexec_setup_resources() is indirectly
called by efi_init() and it needs a working is_initial_xendomain();
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>
Index: x/arch/ia64/kernel/setup.c
===================================================================
--- x/arch/ia64/kernel/setup.c 2007-05-11 17:15:12.000000000 +0900
+++ x/arch/ia64/kernel/setup.c 2007-05-11 17:15:20.000000000 +0900
@@ -442,6 +442,11 @@ early_param("nomca", setup_nomca);
void __init
setup_arch (char **cmdline_p)
{
+#ifdef CONFIG_XEN
+ shared_info_t *s = HYPERVISOR_shared_info;
+ xen_start_info = __va(s->arch.start_info_pfn << PAGE_SHIFT);
+#endif
+
unw_init();
#ifdef CONFIG_XEN
@@ -535,10 +540,6 @@ setup_arch (char **cmdline_p)
}
#ifdef CONFIG_XEN
if (is_running_on_xen()) {
- shared_info_t *s = HYPERVISOR_shared_info;
-
- xen_start_info = __va(s->arch.start_info_pfn << PAGE_SHIFT);
-
printk("Running on Xen! start_info_pfn=0x%lx nr_pages=%ld "
"flags=0x%x\n", s->arch.start_info_pfn,
xen_start_info->nr_pages, xen_start_info->flags);
--
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] [rfc 00/16] Kexec v20070717: Linux-Xen, Simon Horman
- [Xen-ia64-devel] [rfc 03/16] Initialise xen_start_info earlier in setup_arch(),
Simon Horman <=
- [Xen-ia64-devel] [rfc 02/16] statically allocate xen_phys_cpus, Simon Horman
- [Xen-ia64-devel] [rfc 09/16] Update default config to enable kexec, Simon Horman
- [Xen-ia64-devel] [rfc 04/16] IA64 Kexec/kdump, Simon Horman
- [Xen-ia64-devel] [rfc 06/16] Kexec/Kdump: honour non-zero crashkernel offset, Simon Horman
- [Xen-ia64-devel] [rfc 01/16] sysctl: implement CTL_UNNUMBERED, Simon Horman
- [Xen-ia64-devel] [rfc 07/16] Kexec: Call xen_machine_kexec_register_resources, Simon Horman
- [Xen-ia64-devel] [rfc 08/16] kexec/kdump: Minor enhancement to includes in crash.c, Simon Horman
- [Xen-ia64-devel] [rfc 05/16] CONFIG_KEXEC/CONFIG_CRASH_DUMP permutations, Simon Horman
- [Xen-ia64-devel] [rfc 11/16] Date: Thu, 12 Jul 2007 15:50:37 +0900 Subkect: Kexec: machine addresss macros From: Simon Horman <horms@xxxxxxxxxxxx>, Simon Horman
- [Xen-ia64-devel] [rfc 14/16] Kdump: Add /proc/iomem_machine, Simon Horman
|
|
|
|
|