ia64/xen-unstable

view linux-2.6-xen-sparse/include/xen/driver_util.h @ 13991:c4ed5b740a8d

linux: remove {lock,unlock}_vm_area(). Instead use vmalloc_sync_all()
in alloc_vm_area().
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Feb 16 11:24:10 2007 +0000 (2007-02-16)
parents 48c0f5489d44
children e47738923a05
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 #endif /* __ASM_XEN_DRIVER_UTIL_H__ */