diff options
author | David Howells <dhowells@redhat.com> | 2012-10-13 05:46:48 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-10-13 05:46:48 -0400 |
commit | 607ca46e97a1b6594b29647d98a32d545c24bdff (patch) | |
tree | 30f4c0784bfddb57332cdc0678bd06d1e77fa185 /include/linux/mman.h | |
parent | 08cce05c5a91f5017f4edc9866cf026908c73f9f (diff) |
UAPI: (Scripted) Disintegrate include/linux
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/mman.h')
-rw-r--r-- | include/linux/mman.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/linux/mman.h b/include/linux/mman.h index 77cec2f45cb7..d09dde1e57fb 100644 --- a/include/linux/mman.h +++ b/include/linux/mman.h | |||
@@ -1,20 +1,11 @@ | |||
1 | #ifndef _LINUX_MMAN_H | 1 | #ifndef _LINUX_MMAN_H |
2 | #define _LINUX_MMAN_H | 2 | #define _LINUX_MMAN_H |
3 | 3 | ||
4 | #include <asm/mman.h> | ||
5 | |||
6 | #define MREMAP_MAYMOVE 1 | ||
7 | #define MREMAP_FIXED 2 | ||
8 | |||
9 | #define OVERCOMMIT_GUESS 0 | ||
10 | #define OVERCOMMIT_ALWAYS 1 | ||
11 | #define OVERCOMMIT_NEVER 2 | ||
12 | |||
13 | #ifdef __KERNEL__ | ||
14 | #include <linux/mm.h> | 4 | #include <linux/mm.h> |
15 | #include <linux/percpu_counter.h> | 5 | #include <linux/percpu_counter.h> |
16 | 6 | ||
17 | #include <linux/atomic.h> | 7 | #include <linux/atomic.h> |
8 | #include <uapi/linux/mman.h> | ||
18 | 9 | ||
19 | extern int sysctl_overcommit_memory; | 10 | extern int sysctl_overcommit_memory; |
20 | extern int sysctl_overcommit_ratio; | 11 | extern int sysctl_overcommit_ratio; |
@@ -88,5 +79,4 @@ calc_vm_flag_bits(unsigned long flags) | |||
88 | _calc_vm_trans(flags, MAP_DENYWRITE, VM_DENYWRITE ) | | 79 | _calc_vm_trans(flags, MAP_DENYWRITE, VM_DENYWRITE ) | |
89 | _calc_vm_trans(flags, MAP_LOCKED, VM_LOCKED ); | 80 | _calc_vm_trans(flags, MAP_LOCKED, VM_LOCKED ); |
90 | } | 81 | } |
91 | #endif /* __KERNEL__ */ | ||
92 | #endif /* _LINUX_MMAN_H */ | 82 | #endif /* _LINUX_MMAN_H */ |