From: rofl0r Date: Thu, 6 Dec 2012 00:20:48 +0000 (+0100) Subject: add MAP_NORESERVE to bits/mman.h X-Git-Tag: v0.9.9~90 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0e10f740069c2d805d3199a8079b73e828c7d8d9;p=oweals%2Fmusl.git 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. --- 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