mirror of git://sourceware.org/git/glibc.git
ia64: add MAP_{STACK,HUGETLB} to bits/mman.h
Just adding new bit flags that newer kernels define. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
413a8f40ec
commit
7e4fc5890e
|
|
@ -1,3 +1,8 @@
|
||||||
|
2012-04-27 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/ia64/bits/mman.h (MAP_STACK): Define.
|
||||||
|
(MAP_HUGETLB): Likewise.
|
||||||
|
|
||||||
2012-04-27 Mike Frysinger <vapier@gentoo.org>
|
2012-04-27 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* sysdeps/ia64/fpu/s_scalbn.c (__scalbn): Rename from scalbn.
|
* sysdeps/ia64/fpu/s_scalbn.c (__scalbn): Rename from scalbn.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
/* Definitions for POSIX memory map interface. Linux/ia64 version.
|
/* Definitions for POSIX memory map interface. Linux/ia64 version.
|
||||||
Copyright (C) 1997,1998,2000,2003,2005,2006,2009,2011
|
Copyright (C) 1997-2012 Free Software Foundation, Inc.
|
||||||
Free Software Foundation, Inc.
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -64,6 +63,8 @@
|
||||||
# define MAP_NORESERVE 0x04000 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x04000 /* Don't check for reservations. */
|
||||||
# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */
|
# define MAP_POPULATE 0x08000 /* Populate (prefault) pagetables. */
|
||||||
# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
|
# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
|
||||||
|
# define MAP_STACK 0x20000 /* Allocation is for a stack. */
|
||||||
|
# define MAP_HUGETLB 0x40000 /* Create huge page mapping. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue