aboutsummaryrefslogtreecommitdiffstats
path: root/linux-2.6-xen-sparse/include/xen/driver_util.h
blob: 1c3bdd235795cc141601c14b6e4143a521785174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __ASM_XEN_DRIVER_UTIL_H__
#define __ASM_XEN_DRIVER_UTIL_H__

#include <linux/vmalloc.h>
#include <linux/device.h>

/* Allocate/destroy a 'vmalloc' VM area. */
extern struct vm_struct *alloc_vm_area(unsigned long size);
extern void free_vm_area(struct vm_struct *area);

extern struct class *get_xen_class(void);

#endif /* __ASM_XEN_DRIVER_UTIL_H__ */