ia64/xen-unstable

view linux-2.6-xen-sparse/include/asm-xen/driver_util.h @ 8534:da7873110bbb

Tiny bootstrap cleanup.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Mon Jan 09 19:46:46 2006 +0100 (2006-01-09)
parents 61b3b357d827
children
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__ */
18 /*
19 * Local variables:
20 * c-file-style: "linux"
21 * indent-tabs-mode: t
22 * c-indent-level: 8
23 * c-basic-offset: 8
24 * tab-width: 8
25 * End:
26 */