This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[PATCH 2/2] hppa: Update bits/mman.h.
- From: Matt Turner <mattst88 at gmail dot com>
- To: Carlos O'Donell carlos at systemhalted dot org
- Cc: libc-ports at sourceware dot org, Matt Turner <mattst88 at gmail dot com>
- Date: Fri, 27 Apr 2012 19:35:21 -0400
- Subject: [PATCH 2/2] hppa: Update bits/mman.h.
- References: <1335569721-32212-1-git-send-email-mattst88@gmail.com>
2012-04-27 Matt Turner <mattst88@gmail.com>
* sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
(MAP_HUGETLB): Likewise.
---
sysdeps/unix/sysv/linux/hppa/bits/mman.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/mman.h b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
index e269a44..28d4cde 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/mman.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/mman.h
@@ -1,5 +1,5 @@
/* Definitions for POSIX memory map interface. Linux/HPPA version.
- Copyright (C) 1997, 1998, 2000, 2003 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
@@ -55,6 +55,8 @@
# define MAP_GROWSDOWN 0x8000 /* Stack-like segment */
# 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" */
--
1.7.3.4