]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/tile/include/uapi/asm/mman.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / arch / tile / include / uapi / asm / mman.h
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * Copyright 2010 Tilera Corporation. All Rights Reserved.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation, version 2.
8 *
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
12 * NON INFRINGEMENT. See the GNU General Public License for
13 * more details.
14 */
15
16 #ifndef _ASM_TILE_MMAN_H
17 #define _ASM_TILE_MMAN_H
18
19 #include <asm-generic/mman-common.h>
20 #include <arch/chip.h>
21
22 /* Standard Linux flags */
23
24 #define MAP_POPULATE 0x0040 /* populate (prefault) pagetables */
25 #define MAP_NONBLOCK 0x0080 /* do not block on IO */
26 #define MAP_GROWSDOWN 0x0100 /* stack-like segment */
27 #define MAP_STACK MAP_GROWSDOWN /* provide convenience alias */
28 #define MAP_LOCKED 0x0200 /* pages are locked */
29 #define MAP_NORESERVE 0x0400 /* don't check for reservations */
30 #define MAP_DENYWRITE 0x0800 /* ETXTBSY */
31 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
32 #define MAP_HUGETLB 0x4000 /* create a huge page mapping */
33
34
35 /*
36 * Flags for mlockall
37 */
38 #define MCL_CURRENT 1 /* lock all current mappings */
39 #define MCL_FUTURE 2 /* lock all future mappings */
40 #define MCL_ONFAULT 4 /* lock all pages that are faulted in */
41
42
43 #endif /* _ASM_TILE_MMAN_H */