1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_VMALLOC_H
13 #define _LINUX_VMALLOC_H
15 #include <linux/spinlock.h>
18 struct vm_area_struct
;
20 #define VM_IOREMAP 0x00000001
21 #define VM_ALLOC 0x00000002
22 #define VM_MAP 0x00000004
23 #define VM_USERMAP 0x00000008
24 #define VM_VPAGES 0x00000010
26 #ifndef IOREMAP_MAX_ORDER
27 #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT)
35 unsigned int nr_pages
;
36 unsigned long phys_addr
;
37 struct vm_struct
*next
;