ia64/linux-2.6.18-xen.hg

view include/xen/driver_util.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 a533be77c572
children
line source
2 #ifndef __ASM_XEN_DRIVER_UTIL_H__
3 #define __ASM_XEN_DRIVER_UTIL_H__
5 #include <linux/vmalloc.h>
6 #include <linux/device.h>
8 /* Allocate/destroy a 'vmalloc' VM area. */
9 extern struct vm_struct *alloc_vm_area(unsigned long size);
10 extern void free_vm_area(struct vm_struct *area);
12 extern struct class *get_xen_class(void);
14 #endif /* __ASM_XEN_DRIVER_UTIL_H__ */