ia64/linux-2.6.18-xen.hg
changeset 452:c7ed6fe5dca0
kexec: dont initialise regions in reserve_memory()
There is no need to initialise efi_memmap_res and boot_param_res in
reserve_memory() for the initial xen domain as it is done in
machine_kexec_setup_resources() using values from the kexec hypercall.
Signed-off-by: Simon Horman <horms@verge.net.au>
There is no need to initialise efi_memmap_res and boot_param_res in
reserve_memory() for the initial xen domain as it is done in
machine_kexec_setup_resources() using values from the kexec hypercall.
Signed-off-by: Simon Horman <horms@verge.net.au>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Thu Feb 28 10:55:18 2008 +0000 (2008-02-28) |
parents | 11371d0e841b |
children | 10f6aed62763 |
files | arch/ia64/kernel/setup.c |
line diff
1.1 --- a/arch/ia64/kernel/setup.c Thu Feb 28 10:54:55 2008 +0000 1.2 +++ b/arch/ia64/kernel/setup.c Thu Feb 28 10:55:18 2008 +0000 1.3 @@ -336,15 +336,15 @@ reserve_memory (void) 1.4 } 1.5 } 1.6 } 1.7 -#ifdef CONFIG_XEN 1.8 - } 1.9 -#endif 1.10 efi_memmap_res.start = ia64_boot_param->efi_memmap; 1.11 efi_memmap_res.end = efi_memmap_res.start + 1.12 ia64_boot_param->efi_memmap_size; 1.13 boot_param_res.start = kexec_virt_to_phys(ia64_boot_param); 1.14 boot_param_res.end = boot_param_res.start + 1.15 sizeof(*ia64_boot_param); 1.16 +#ifdef CONFIG_XEN 1.17 + } 1.18 +#endif 1.19 } 1.20 #endif 1.21 /* end of memory marker */