diff options
Diffstat (limited to 'include/asm-alpha/mman.h')
-rw-r--r-- | include/asm-alpha/mman.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-alpha/mman.h b/include/asm-alpha/mman.h index ddfe6bda4..3e9b58d98 100644 --- a/include/asm-alpha/mman.h +++ b/include/asm-alpha/mman.h @@ -31,6 +31,13 @@ #define MCL_CURRENT 8192 /* lock all currently mapped pages */ #define MCL_FUTURE 16384 /* lock all additions to address space */ +#define MADV_NORMAL 0 /* no further special treatment */ +#define MADV_RANDOM 1 /* expect random page references */ +#define MADV_SEQUENTIAL 2 /* expect sequential page references */ +#define MADV_WILLNEED 3 /* will need these pages */ +#define MADV_SPACEAVAIL 5 /* ensure resources are available */ +#define MADV_DONTNEED 6 /* dont need these pages */ + /* compatibility flags */ #define MAP_ANON MAP_ANONYMOUS #define MAP_FILE 0 |