diff options
| author | Joseph Myers <joseph@codesourcery.com> | 2012-03-28 12:37:21 +0000 |
|---|---|---|
| committer | Joseph Myers <joseph@codesourcery.com> | 2012-03-28 12:37:21 +0000 |
| commit | aa06d8e46a94b2bc1e59257d34b32382d3a16a0c (patch) | |
| tree | d9a82971ae09e0d5842a675147aa8f183ed9de4b | |
| parent | 268413928e58b44217a931e621ffcd8aa2fbed5a (diff) | |
| download | glibc-aa06d8e46a94b2bc1e59257d34b32382d3a16a0c.tar.xz glibc-aa06d8e46a94b2bc1e59257d34b32382d3a16a0c.zip | |
MIPS: Define MAP_STACK and MAP_HUGETLB.
| -rw-r--r-- | ChangeLog.mips | 5 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/mman.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips index e8385470ca..01f51c0c40 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2012-03-28 Joseph Myers <joseph@codesourcery.com> + + * sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define. + (MAP_HUGETLB): Likewise. + 2012-03-27 Joseph Myers <joseph@codesourcery.com> * sysdeps/mips/elf/start.S: Moved to ... diff --git a/sysdeps/unix/sysv/linux/mips/bits/mman.h b/sysdeps/unix/sysv/linux/mips/bits/mman.h index d23a766b37..e9c919b8cd 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/mman.h +++ b/sysdeps/unix/sysv/linux/mips/bits/mman.h @@ -1,6 +1,5 @@ /* Definitions for POSIX memory map interface. Linux/MIPS version. - Copyright (C) 1997, 2000, 2003, 2004, 2005, 2006, 2009, 2011 - Free Software Foundation, Inc. + Copyright (C) 1997-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -65,6 +64,8 @@ # define MAP_LOCKED 0x8000 /* pages are locked */ # define MAP_POPULATE 0x10000 /* populate (prefault) pagetables */ # define MAP_NONBLOCK 0x20000 /* do not block on IO */ +# define MAP_STACK 0x40000 /* Allocation is for a stack. */ +# define MAP_HUGETLB 0x80000 /* Create huge page mapping. */ #endif /* Flags to `msync'. */ |
