ia64/linux-2.6.18-xen.hg

view include/asm-h8300/virtconvert.h @ 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>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 28 10:55:18 2008 +0000 (2008-02-28)
parents 831230e53067
children
line source
1 #ifndef __H8300_VIRT_CONVERT__
2 #define __H8300_VIRT_CONVERT__
4 /*
5 * Macros used for converting between virtual and physical mappings.
6 */
8 #ifdef __KERNEL__
10 #include <asm/setup.h>
11 #include <asm/page.h>
13 #define mm_ptov(vaddr) ((void *) (vaddr))
14 #define mm_vtop(vaddr) ((unsigned long) (vaddr))
15 #define phys_to_virt(vaddr) ((void *) (vaddr))
16 #define virt_to_phys(vaddr) ((unsigned long) (vaddr))
18 #define virt_to_bus virt_to_phys
19 #define bus_to_virt phys_to_virt
21 #endif
22 #endif