diff options
-rw-r--r-- | arch/powerpc/bits/mman.h | 7 | ||||
-rw-r--r-- | arch/powerpc64/bits/mman.h | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/arch/powerpc/bits/mman.h b/arch/powerpc/bits/mman.h index b6a15a12..95ec4358 100644 --- a/arch/powerpc/bits/mman.h +++ b/arch/powerpc/bits/mman.h @@ -1,4 +1,9 @@ -#define PROT_SAO 0x10 +#define PROT_SAO 0x10 + +#undef MAP_NORESERVE +#define MAP_NORESERVE 0x40 +#undef MAP_LOCKED +#define MAP_LOCKED 0x80 #undef MCL_CURRENT #define MCL_CURRENT 0x2000 diff --git a/arch/powerpc64/bits/mman.h b/arch/powerpc64/bits/mman.h index f5974f82..95ec4358 100644 --- a/arch/powerpc64/bits/mman.h +++ b/arch/powerpc64/bits/mman.h @@ -1,5 +1,10 @@ #define PROT_SAO 0x10 +#undef MAP_NORESERVE +#define MAP_NORESERVE 0x40 +#undef MAP_LOCKED +#define MAP_LOCKED 0x80 + #undef MCL_CURRENT #define MCL_CURRENT 0x2000 #undef MCL_FUTURE |