This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / xen / driver_util.h
1
2 #ifndef __ASM_XEN_DRIVER_UTIL_H__
3 #define __ASM_XEN_DRIVER_UTIL_H__
4
5 #include <linux/config.h>
6 #include <linux/vmalloc.h>
7
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);
11
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);
15
16 #endif /* __ASM_XEN_DRIVER_UTIL_H__ */