mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Define MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and MAP_HUGETLB. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
This commit is contained in:
committed by
David S. Miller
parent
b855ab8539
commit
dd62fda6cc
@ -1,3 +1,11 @@
|
|||||||
|
2012-03-27 Anton Blanchard <anton@samba.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
|
||||||
|
MAP_HUGETLB.
|
||||||
|
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
|
||||||
|
|
||||||
2012-03-27 David S. Miller <davem@davemloft.net>
|
2012-03-27 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
* conform/Makefile: Run run-conformtest.sh using $(BASH).
|
* conform/Makefile: Run run-conformtest.sh using $(BASH).
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/PowerPC version.
|
/* Definitions for POSIX memory map interface. Linux/PowerPC version.
|
||||||
Copyright (C) 1997,2000,2003,2005,2006,2008,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 0x00040 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x00040 /* 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'. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/s390 version.
|
/* Definitions for POSIX memory map interface. Linux/s390 version.
|
||||||
Copyright (C) 2000-2003,2005,2006,2009,2011 Free Software Foundation, Inc.
|
Copyright (C) 2000-2012 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
|
||||||
@ -63,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'. */
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/SH version.
|
/* Definitions for POSIX memory map interface. Linux/SH version.
|
||||||
Copyright (C) 1997,1999,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
|
||||||
@ -63,6 +62,8 @@
|
|||||||
# define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
|
# define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
|
||||||
# define MAP_POPULATE 0x8000 /* Populate (prefault) pagetables. */
|
# define MAP_POPULATE 0x8000 /* 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'. */
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/SPARC version.
|
/* Definitions for POSIX memory map interface. Linux/SPARC version.
|
||||||
Copyright (C) 1997,1999,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
|
||||||
@ -65,6 +64,8 @@
|
|||||||
# define _MAP_NEW 0x80000000 /* Binary compatibility with SunOS. */
|
# define _MAP_NEW 0x80000000 /* Binary compatibility with SunOS. */
|
||||||
# define MAP_POPULATE 0x8000 /* Populate (prefault) pagetables. */
|
# define MAP_POPULATE 0x8000 /* 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'. */
|
||||||
|
Reference in New Issue
Block a user