Merge to Fedora kernel-2.6.18-1.2224_FC5 patched with stable patch-2.6.18.1-vs2.0...
[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/vmalloc.h>
6
7 /* Allocate/destroy a 'vmalloc' VM area. */
8 extern struct vm_struct *alloc_vm_area(unsigned long size);
9 extern void free_vm_area(struct vm_struct *area);
10
11 /* Lock an area so that PTEs are accessible in the current address space. */
12 extern void lock_vm_area(struct vm_struct *area);
13 extern void unlock_vm_area(struct vm_struct *area);
14
15 #endif /* __ASM_XEN_DRIVER_UTIL_H__ */