direct-io.hg

annotate linux-2.6-xen-sparse/include/xen/driver_util.h @ 13973: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
rev   line source
kaf24@6986 1
kaf24@6986 2 #ifndef __ASM_XEN_DRIVER_UTIL_H__
kaf24@6986 3 #define __ASM_XEN_DRIVER_UTIL_H__
kaf24@6986 4
kaf24@6986 5 #include <linux/config.h>
kaf24@6986 6 #include <linux/vmalloc.h>
kaf24@6986 7
kaf24@6990 8 /* Allocate/destroy a 'vmalloc' VM area. */
kaf24@6990 9 extern struct vm_struct *alloc_vm_area(unsigned long size);
kaf24@6990 10 extern void free_vm_area(struct vm_struct *area);
kaf24@6990 11
kaf24@6986 12 #endif /* __ASM_XEN_DRIVER_UTIL_H__ */