ia64/xen-unstable

view linux-2.6-xen-sparse/include/xen/driver_util.h @ 13341:3040ba0f2d3d

When booting via xm, only run the bootloader if it's in non-interactive mode:
otherwise we lose the user's named kernel and try to bootload the temporary
file pygrub returned.

Signed-off-by: John Levon <john.levon@sun.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Jan 09 13:24:45 2007 +0000 (2007-01-09)
parents 48c0f5489d44
children c4ed5b740a8d
line source
2 #ifndef __ASM_XEN_DRIVER_UTIL_H__
3 #define __ASM_XEN_DRIVER_UTIL_H__
5 #include <linux/config.h>
6 #include <linux/vmalloc.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 /* Lock an area so that PTEs are accessible in the current address space. */
13 extern void lock_vm_area(struct vm_struct *area);
14 extern void unlock_vm_area(struct vm_struct *area);
16 #endif /* __ASM_XEN_DRIVER_UTIL_H__ */