summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2012-12-06 01:20:48 +0100
committerrofl0r <retnyg@gmx.net>2012-12-06 01:26:51 +0100
commit0e10f740069c2d805d3199a8079b73e828c7d8d9 (patch)
treec97915258ac7a1b4d88bc28fd582557dc647cad6
parent4b43f05f3c754df56e8b6f844c012efd4e51a032 (diff)
downloadmusl-0e10f740069c2d805d3199a8079b73e828c7d8d9.tar.gz
musl-0e10f740069c2d805d3199a8079b73e828c7d8d9.tar.bz2
musl-0e10f740069c2d805d3199a8079b73e828c7d8d9.tar.xz
musl-0e10f740069c2d805d3199a8079b73e828c7d8d9.zip
add MAP_NORESERVE to bits/mman.h
this is needed for qemu, and since it differs for each arch it can't be circumvented easily by using a macro in CFLAGS.
-rw-r--r--arch/arm/bits/mman.h1
-rw-r--r--arch/i386/bits/mman.h1
-rw-r--r--arch/microblaze/bits/mman.h1
-rw-r--r--arch/mips/bits/mman.h1
-rw-r--r--arch/powerpc/bits/mman.h1
-rw-r--r--arch/x86_64/bits/mman.h1
6 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/bits/mman.h b/arch/arm/bits/mman.h
index 03f961e8..bc8f37c8 100644
--- a/arch/arm/bits/mman.h
+++ b/arch/arm/bits/mman.h
@@ -16,6 +16,7 @@
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
+#define MAP_NORESERVE 0x4000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1
diff --git a/arch/i386/bits/mman.h b/arch/i386/bits/mman.h
index 03f961e8..bc8f37c8 100644
--- a/arch/i386/bits/mman.h
+++ b/arch/i386/bits/mman.h
@@ -16,6 +16,7 @@
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
+#define MAP_NORESERVE 0x4000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1
diff --git a/arch/microblaze/bits/mman.h b/arch/microblaze/bits/mman.h
index 03f961e8..bc8f37c8 100644
--- a/arch/microblaze/bits/mman.h
+++ b/arch/microblaze/bits/mman.h
@@ -16,6 +16,7 @@
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
+#define MAP_NORESERVE 0x4000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1
diff --git a/arch/mips/bits/mman.h b/arch/mips/bits/mman.h
index f40e451d..f99a2109 100644
--- a/arch/mips/bits/mman.h
+++ b/arch/mips/bits/mman.h
@@ -15,6 +15,7 @@
#define MAP_FILE 0x00
#define MAP_ANON 0x800
#define MAP_ANONYMOUS MAP_ANON
+#define MAP_NORESERVE 0x0400
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1
diff --git a/arch/powerpc/bits/mman.h b/arch/powerpc/bits/mman.h
index 03f961e8..b6014c1a 100644
--- a/arch/powerpc/bits/mman.h
+++ b/arch/powerpc/bits/mman.h
@@ -16,6 +16,7 @@
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
+#define MAP_NORESERVE 0x40
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1
diff --git a/arch/x86_64/bits/mman.h b/arch/x86_64/bits/mman.h
index 80ed39fa..78ed75f5 100644
--- a/arch/x86_64/bits/mman.h
+++ b/arch/x86_64/bits/mman.h
@@ -16,6 +16,7 @@
#define MAP_ANON 0x20
#define MAP_ANONYMOUS MAP_ANON
#define MAP_32BIT 0x40
+#define MAP_NORESERVE 0x4000
#define POSIX_MADV_NORMAL 0
#define POSIX_MADV_RANDOM 1