Revert "Roll NDK to r11c and extract it into its own repository."
[android_tools.git] / ndk / platforms / android-17 / arch-arm / usr / include / linux / vmalloc.h
blobc7fd103391b1f77ab237ec3b2806b9a886143c11
1 /****************************************************************************
2 ****************************************************************************
3 ***
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.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_VMALLOC_H
13 #define _LINUX_VMALLOC_H
15 #include <linux/spinlock.h>
16 #include <asm/page.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)
28 #endif
30 struct vm_struct {
31 void *addr;
32 unsigned long size;
33 unsigned long flags;
34 struct page **pages;
35 unsigned int nr_pages;
36 unsigned long phys_addr;
37 struct vm_struct *next;
40 #endif